-
Global information
- Generated on Wed Jul 15 23:00:04 2026
- Log file: /var/log/postgresql/postgresql-10-main.log
- Parsed 273,375 log entries in 3s
- Log start from 2026-07-15 07:00:01 to 2026-07-15 22:00:00
-
Overview
Global Stats
- 141 Number of unique normalized queries
- 922 Number of queries
- 3h27m39s Total query duration
- 2026-07-15 07:00:14 First query
- 2026-07-15 21:59:30 Last query
- 5 queries/s at 2026-07-15 13:33:49 Query peak
- 3,685 Number of events
- 46 Number of unique normalized events
- 896 Max number of times the same event was reported
- 0 Number of cancellation
- 972 Total number of automatic vacuums
- 1,490 Total number of automatic analyzes
- 167 Number temporary file
- 736.78 MiB Max size of temporary file
- 35.50 MiB Average size of temporary file
- 11,624 Total number of sessions
- 21 sessions at 2026-07-15 21:00:01 Session peak
- 3d16h28m43s Total duration of sessions
- 27s402ms Average duration of sessions
- 0 Average queries per session
- 1s71ms Average queries duration per session
- 13,413 Total number of connections
- 12 connections/s at 2026-07-15 11:45:04 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 5 queries/s Query Peak
- 2026-07-15 13:33:49 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2026-07-15 13:33:49 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2026-07-15 07:47:13 Date
Queries duration
Key values
- 3h27m39s Total query duration
Prepared queries ratio
Key values
- 911.00 Ratio of bind vs prepare
- 98.81 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 15 07 35 0ms 42s857ms 11s575ms 26s54ms 39s987ms 59s286ms 08 107 0ms 1m4s 14s454ms 1m10s 1m52s 3m30s 09 120 0ms 2m1s 17s824ms 1m26s 3m12s 7m22s 10 140 0ms 2m2s 14s967ms 1m29s 3m23s 5m16s 11 91 0ms 44s574ms 11s999ms 54s733ms 1m8s 1m36s 12 174 0ms 51s5ms 11s973ms 1m43s 2m23s 2m53s 13 134 0ms 46s281ms 12s628ms 1m27s 2m 3m7s 14 24 0ms 19s660ms 9s755ms 25s52ms 25s455ms 28s165ms 15 14 0ms 20s119ms 12s475ms 24s875ms 25s929ms 30s126ms 16 13 0ms 17s142ms 12s310ms 24s710ms 25s36ms 25s192ms 17 14 0ms 18s57ms 12s671ms 24s874ms 25s190ms 26s348ms 18 13 0ms 17s89ms 12s303ms 24s848ms 24s949ms 25s177ms 19 15 0ms 17s149ms 11s571ms 24s793ms 25s6ms 30s143ms 20 13 0ms 16s972ms 12s176ms 24s634ms 24s780ms 24s886ms 21 15 0ms 17s6ms 11s196ms 24s532ms 24s863ms 30s76ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 15 07 33 0 10s777ms 7s533ms 24s667ms 42s857ms 08 106 0 14s173ms 49s204ms 1m10s 2m31s 09 118 0 17s958ms 51s503ms 1m26s 5m27s 10 137 0 14s953ms 42s841ms 1m29s 4m13s 11 88 0 11s911ms 36s229ms 54s733ms 1m27s 12 174 0 11s973ms 56s418ms 1m43s 2m42s 13 133 0 12s642ms 48s328ms 1m27s 2m5s 14 23 0 9s879ms 6s390ms 25s52ms 27s116ms 15 13 0 12s261ms 0ms 24s875ms 28s523ms 16 12 0 12s492ms 0ms 24s710ms 25s100ms 17 13 0 12s847ms 0ms 24s874ms 26s166ms 18 12 0 12s488ms 0ms 24s848ms 25s62ms 19 14 0 11s724ms 0ms 24s793ms 25s181ms 20 12 0 12s365ms 0ms 24s634ms 24s781ms 21 14 0 11s332ms 0ms 24s532ms 29s800ms 22 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 15 07 0 1 1 0 24s746ms 0ms 0ms 0ms 08 0 1 0 0 44s157ms 0ms 0ms 0ms 09 0 0 2 0 9s878ms 0ms 0ms 0ms 10 0 1 2 0 15s613ms 0ms 0ms 9s860ms 11 0 1 2 0 14s580ms 0ms 0ms 9s786ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 1 0 10s730ms 0ms 0ms 0ms 14 0 1 0 0 6s899ms 0ms 0ms 0ms 15 0 1 0 0 15s266ms 0ms 0ms 0ms 16 0 1 0 0 10s120ms 0ms 0ms 0ms 17 0 1 0 0 10s377ms 0ms 0ms 0ms 18 0 1 0 0 10s79ms 0ms 0ms 0ms 19 0 1 0 0 9s433ms 0ms 0ms 0ms 20 0 1 0 0 9s904ms 0ms 0ms 0ms 21 0 1 0 0 9s291ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 15 07 0 33 33.00 0.00% 08 0 107 107.00 0.00% 09 0 119 119.00 0.00% 10 0 139 139.00 0.00% 11 0 89 89.00 0.00% 12 0 172 172.00 0.00% 13 0 132 132.00 0.00% 14 0 23 23.00 0.00% 15 0 14 14.00 0.00% 16 0 13 13.00 0.00% 17 0 14 14.00 0.00% 18 0 13 13.00 0.00% 19 0 15 15.00 0.00% 20 0 13 13.00 0.00% 21 0 15 15.00 0.00% 22 0 0 0.00 0.00% Day Hour Count Average / Second Jul 15 07 887 0.25/s 08 904 0.25/s 09 905 0.25/s 10 913 0.25/s 11 909 0.25/s 12 903 0.25/s 13 910 0.25/s 14 894 0.25/s 15 893 0.25/s 16 891 0.25/s 17 886 0.25/s 18 883 0.25/s 19 885 0.25/s 20 890 0.25/s 21 857 0.24/s 22 3 0.00/s Day Hour Count Average Duration Jul 15 07 774 21s387ms 08 786 29s754ms 09 783 35s551ms 10 793 32s503ms 11 790 34s622ms 12 784 35s682ms 13 791 37s937ms 14 775 23s532ms 15 774 23s12ms 16 772 25s842ms 17 766 9s701ms 18 765 29s403ms 19 764 24s219ms 20 770 27s510ms 21 737 19s27ms 22 0 0ms -
Connections
Established Connections
Key values
- 12 connections Connection Peak
- 2026-07-15 11:45:04 Date
Connections per database
Key values
- openbravo Main Database
- 13,413 connections Total
Connections per user
Key values
- postgres Main User
- 13,413 connections Total
-
Sessions
Simultaneous sessions
Key values
- 21 sessions Session Peak
- 2026-07-15 21:00:01 Date
Histogram of session times
Key values
- 11,235 0-500ms duration
Sessions per database
Key values
- openbravo Main Database
- 11,624 sessions Total
Sessions per user
Key values
- postgres Main User
- 11,624 sessions Total
Sessions per host
Key values
- [local] Main Host
- 11,624 sessions Total
Sessions per application
Key values
- [unknown] Main Host
- 11,624 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 0 buffers Checkpoint Peak
- Date
- seconds Highest write time
- seconds Sync time
Checkpoint write buffers (5 minutes period)
NO DATASET
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- Date
Checkpoint Wal files usage (5 minutes period)
NO DATASET
Checkpoints distance
Key values
Checkpoint mean distance and estimate (5 minutes period)
NO DATASET
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 15 07 0 0s 0s 0s 08 0 0s 0s 0s 09 0 0s 0s 0s 10 0 0s 0s 0s 11 0 0s 0s 0s 12 0 0s 0s 0s 13 0 0s 0s 0s 14 0 0s 0s 0s 15 0 0s 0s 0s 16 0 0s 0s 0s 17 0 0s 0s 0s 18 0 0s 0s 0s 19 0 0s 0s 0s 20 0 0s 0s 0s 21 0 0s 0s 0s 22 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 15 07 0 0 0 0 0s 0s 08 0 0 0 0 0s 0s 09 0 0 0 0 0s 0s 10 0 0 0 0 0s 0s 11 0 0 0 0 0s 0s 12 0 0 0 0 0s 0s 13 0 0 0 0 0s 0s 14 0 0 0 0 0s 0s 15 0 0 0 0 0s 0s 16 0 0 0 0 0s 0s 17 0 0 0 0 0s 0s 18 0 0 0 0 0s 0s 19 0 0 0 0 0s 0s 20 0 0 0 0 0s 0s 21 0 0 0 0 0s 0s 22 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jul 15 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s Day Hour Mean distance Mean estimate Jul 15 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 -
Temporary Files
Size of temporary files
Key values
- 736.78 MiB Temp Files size Peak
- 2026-07-15 10:42:05 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2026-07-15 09:13:12 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 15 07 1 27.45 MiB 27.45 MiB 08 4 160.72 MiB 40.18 MiB 09 69 1.77 GiB 26.34 MiB 10 67 1.72 GiB 26.25 MiB 11 15 1.22 GiB 83.47 MiB 12 5 350.79 MiB 70.16 MiB 13 5 440.66 MiB 88.13 MiB 14 1 120.37 MiB 120.37 MiB 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 124 1.37 GiB 11.13 MiB 11.51 MiB 11.33 MiB SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ WHERE (upper ((order0_.documentno || '' || COALESCE (to_char (order0_.dateordered), '') || '' || COALESCE (to_char (order0_.grandtotal), ''))) LIKE upper (?) ESCAPE '') AND (EXISTS ( SELECT 0 FROM m_inout materialmg1_ INNER JOIN c_order order2_ ON materialmg1_.c_order_id = order2_.c_order_id CROSS JOIN c_doctype documentty3_ WHERE materialmg1_.c_doctype_id = documentty3_.c_doctype_id AND (materialmg1_.movementtype IN (...)) AND materialmg1_.islogistic = '' AND documentty3_.isreturn = '' AND order2_.c_order_id = order0_.c_order_id AND (materialmg1_.ad_org_id IN (...)) AND (materialmg1_.ad_client_id IN (...)))) ORDER BY order0_.documentno, order0_.dateordered, order0_.grandtotal LIMIT ?;-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ($1) ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT $2;
Date: 2026-07-15 09:12:58 Duration: 0ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
2 9 1.36 GiB 27.50 MiB 736.73 MiB 154.51 MiB ad_column_identifier_std ('', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, '' || fa.name || '' || fa.currentbalance || '' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) || '' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) AS description, '' AS isactive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdby, now () AS updated, 0 AS updatedby FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) aaa WHERE NOT EXISTS ( SELECT 0 FROM ad_alert a WHERE a.ad_alertrule_id = ? AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, '') != '');-
ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 08:53:47 Duration: 0ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
3 5 439.65 MiB 27.51 MiB 174.62 MiB 87.93 MiB INSERT INTO c_invoice (ad_client_id, ad_org_id, isactive, created, createdby, updated, updatedby, issotrx, documentno, docstatus, docaction, processing, processed, posted, c_doctype_id, c_doctypetarget_id, description, isprinted, dateinvoiced, dateacct, c_bpartner_id, c_bpartner_location_id, poreference, isdiscountprinted, c_currency_id, c_paymentterm_id, m_pricelist_id, istaxincluded, createfrom, generateto, copyfrom, isselfservice, ispaid, em_einv_generated, totalpaid, em_einv_sent, outstandingamt, daystilldue, dueamt, fin_paymentmethod_id, calculate_promotions, em_aprm_addpayment, iscashvat, em_aprm_processinvoice, prepaymentamt, createfromorders, createfrominouts, em_advcrm_newactivity, paidamtatinvoicing, em_obpos_rounding_amount, em_aeatsii_send, em_aeatsii_issent, em_aeatsii_fecha_operacion, em_prouti_recalculate_price, em_aeatsii_clave_tipo_fc, em_ml_select_product, em_aeatsii_error_registral, em_aeatsii_modif, em_aeatsii_modified, em_aeatsii_fecha_reg_cont, em_aeatsii_dup, em_aeatsii_unsubscribe, em_aeatsii_multi_dua, em_aeatsii_autofactura, em_aeatsii_isauthorization, em_priuti_createpurchinv, em_priuti_generated, em_prges_expediente_id, em_prges_annotation_id, em_prges_record_number, em_priuti_status_of_review, em_prges_grantotal, em_priuti_validate, em_priuti_start_review, em_prges_poreference, em_cactl_createfromship, c_invoice_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);-
INSERT INTO C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77);
Date: 2026-07-15 09:12:23 Duration: 0ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
4 2 75.75 MiB 37.88 MiB 37.88 MiB 37.88 MiB COMMIT;-
COMMIT;
Date: 2026-07-15 08:31:05 Duration: 0ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
5 1 736.78 MiB 736.78 MiB 736.78 MiB 736.78 MiB ad_column_identifier_std ('', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, em_prouti_totalizations AS description, '' AS isactive, ad_org_id, ad_client_id, now () AS created, 0 AS createdby, now () AS updated, 0 AS updatedby FROM c_order WHERE em_prouti_totalizations IS NOT NULL) aaa WHERE NOT EXISTS ( SELECT 0 FROM ad_alert a WHERE a.ad_alertrule_id = ? AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, '') != '');-
ad_column_identifier_std ('C_Order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, em_prouti_totalizations AS description, 'Y' AS isActive, ad_org_id, ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE em_prouti_totalizations IS NOT NULL) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 10:42:05 Duration: 0ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
6 1 57.52 MiB 57.52 MiB 57.52 MiB 57.52 MiB UPDATE c_order SET updated = ?, c_paymentterm_id = ?, invoicerule = ?, deliveryrule = ?, deliveryviarule = ?, m_pricelist_id = ? WHERE c_order_id = ?;-
UPDATE C_Order SET Updated = $1, C_PaymentTerm_ID = $2, InvoiceRule = $3, DeliveryRule = $4, DeliveryViaRule = $5, M_PriceList_ID = $6 WHERE C_Order_ID = $7;
Date: 2026-07-15 09:12:50 Duration: 0ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo
Queries generating the largest temporary files
Rank Size Query 1 736.78 MiB ad_column_identifier_std ('C_Order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, em_prouti_totalizations AS description, 'Y' AS isActive, ad_org_id, ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE em_prouti_totalizations IS NOT NULL) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 10:42:05 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
2 736.73 MiB ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 09:14:48 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
3 174.62 MiB INSERT INTO C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77);[ Date: 2026-07-15 11:46:21 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
4 120.37 MiB ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 14:08:55 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
5 91.41 MiB INSERT INTO C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77);[ Date: 2026-07-15 11:30:10 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
6 91.41 MiB ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 09:01:15 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
7 87.31 MiB ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 11:19:16 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
8 87.31 MiB INSERT INTO C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77);[ Date: 2026-07-15 12:43:35 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
9 87.31 MiB ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 13:55:27 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
10 87.30 MiB ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 09:35:51 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
11 87.30 MiB ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 10:06:29 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
12 65.37 MiB ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 11:38:54 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
13 58.79 MiB INSERT INTO C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77);[ Date: 2026-07-15 12:23:50 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
14 57.52 MiB UPDATE C_Order SET Updated = $1, C_PaymentTerm_ID = $2, InvoiceRule = $3, DeliveryRule = $4, DeliveryViaRule = $5, M_PriceList_ID = $6 WHERE C_Order_ID = $7;[ Date: 2026-07-15 09:12:50 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
15 37.88 MiB COMMIT;[ Date: 2026-07-15 08:31:05 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
16 37.88 MiB COMMIT;[ Date: 2026-07-15 08:33:57 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
17 27.51 MiB INSERT INTO C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77);[ Date: 2026-07-15 09:12:23 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
18 27.50 MiB ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = $1 AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 08:53:47 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
19 11.51 MiB SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ($1) ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT $2;[ Date: 2026-07-15 10:40:22 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
20 11.51 MiB SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ($1) ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT $2;[ Date: 2026-07-15 09:13:06 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Analyzes per table
Key values
- public.ad_ep_instance_para (639) Main table analyzed (database openbravo)
- 1,490 analyzes Total
Table Number of analyzes openbravo.public.ad_ep_instance_para 639 openbravo.public.c_import_entry 201 openbravo.public.m_stock_aux 174 openbravo.public.ad_sequence 120 openbravo.public.obpos_applications 96 openbravo.public.fin_financial_account 47 openbravo.public.obre_reservation 46 openbravo.public.obre_resource 23 openbravo.profile.last_stat_tables 15 openbravo.profile.last_stat_indexes 15 openbravo.profile.last_stat_user_functions 15 openbravo.pg_catalog.pg_class 15 openbravo.public.ad_session 14 openbravo.public.m_transaction_last 10 openbravo.public.m_storage_detail 9 openbravo.public.c_bpartner 7 openbravo.public.ad_process_request 4 openbravo.public.ad_preference 3 openbravo.pg_catalog.pg_type 3 openbravo.profile.sample_stat_user_functions 2 openbravo.profile.sample_stat_tables 2 openbravo.profile.sample_stat_tables_total 2 openbravo.profile.sample_stat_indexes 2 openbravo.profile.last_stat_database 2 openbravo.public.advcrm_activity 1 openbravo.public.ad_process_run 1 openbravo.pg_catalog.pg_attribute 1 openbravo.profile.sample_statements_total 1 openbravo.profile.sample_stat_user_func_total 1 openbravo.public.ad_pinstance_para 1 openbravo.public.ad_session_usage_audit 1 openbravo.pg_catalog.pg_database 1 postgres.pg_catalog.pg_shdepend 1 openbravo.profile.last_stat_cluster 1 openbravo.profile.sample_statements 1 openbravo.profile.sample_stat_database 1 openbravo.profile.sample_stat_tablespaces 1 openbravo.profile.last_stat_archiver 1 template0.pg_catalog.pg_shdepend 1 openbravo.public.psat_activity_materials 1 openbravo.public.prres_unassigned_receipt 1 openbravo.public.m_storage_pending 1 openbravo.public.obpos_app_cashup 1 openbravo.public.prsync_entry 1 openbravo.public.ad_pinstance 1 openbravo.profile.indexes_list 1 openbravo.profile.sample_stat_indexes_total 1 openbravo.public.m_product_po 1 Total 1,490 Vacuums per table
Key values
- public.ad_ep_instance_para (453) Main table vacuumed on database openbravo
- 972 vacuums Total
Table Number of vacuums Index scans openbravo.public.ad_ep_instance_para 453 451 openbravo.public.m_stock_aux 97 97 openbravo.public.c_import_entry 84 84 openbravo.public.ad_sequence 61 1 openbravo.public.obpos_applications 56 0 openbravo.pg_toast.pg_toast_235592 47 47 openbravo.public.obre_reservation 39 39 openbravo.public.fin_financial_account 38 0 openbravo.profile.last_stat_tables 15 15 openbravo.profile.last_stat_user_functions 15 0 openbravo.profile.last_stat_indexes 15 15 openbravo.pg_toast.pg_toast_230238 13 13 openbravo.pg_toast.pg_toast_2619 10 10 openbravo.public.obre_resource 10 2 openbravo.pg_catalog.pg_class 6 6 openbravo.public.m_transaction_last 5 5 openbravo.public.m_storage_detail 2 2 openbravo.profile.last_stat_database 2 2 openbravo.public.ad_session 1 1 openbravo.profile.last_stat_tablespaces 1 1 openbravo.pg_catalog.pg_statistic 1 1 openbravo.pg_toast.pg_toast_237003 1 1 Total 972 793 Tuples removed per table
Key values
- profile.last_stat_indexes (47361) Main table with removed tuples on database openbravo
- 192856 tuples Total removed
Table Number of vacuums Index scans Tuples removed Pages removed openbravo.profile.last_stat_indexes 15 15 47361 0 openbravo.profile.last_stat_tables 15 15 29505 0 openbravo.public.m_stock_aux 97 97 26431 0 openbravo.pg_toast.pg_toast_230238 13 13 17998 1029 openbravo.public.c_import_entry 84 84 13469 525 openbravo.public.ad_ep_instance_para 453 451 12572 466 openbravo.profile.last_stat_user_functions 15 0 9181 6 openbravo.public.m_storage_detail 2 2 5827 0 openbravo.public.ad_sequence 61 1 5359 0 openbravo.pg_toast.pg_toast_2619 10 10 4525 0 openbravo.public.m_transaction_last 5 5 3930 0 openbravo.public.obpos_applications 56 0 3738 0 openbravo.pg_toast.pg_toast_235592 47 47 3175 73 openbravo.public.fin_financial_account 38 0 2983 0 openbravo.pg_catalog.pg_class 6 6 2912 0 openbravo.public.obre_resource 10 2 1397 0 openbravo.pg_catalog.pg_statistic 1 1 1387 0 openbravo.public.obre_reservation 39 39 628 3 openbravo.public.ad_session 1 1 319 0 openbravo.pg_toast.pg_toast_237003 1 1 83 21 openbravo.profile.last_stat_tablespaces 1 1 52 0 openbravo.profile.last_stat_database 2 2 24 0 Total 972 793 192,856 2,123 Pages removed per table
Key values
- pg_toast.pg_toast_230238 (1029) Main table with removed pages on database openbravo
- 2123 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed openbravo.pg_toast.pg_toast_230238 13 13 17998 1029 openbravo.public.c_import_entry 84 84 13469 525 openbravo.public.ad_ep_instance_para 453 451 12572 466 openbravo.pg_toast.pg_toast_235592 47 47 3175 73 openbravo.pg_toast.pg_toast_237003 1 1 83 21 openbravo.profile.last_stat_user_functions 15 0 9181 6 openbravo.public.obre_reservation 39 39 628 3 openbravo.public.ad_session 1 1 319 0 openbravo.public.obpos_applications 56 0 3738 0 openbravo.public.m_storage_detail 2 2 5827 0 openbravo.pg_toast.pg_toast_2619 10 10 4525 0 openbravo.profile.last_stat_tablespaces 1 1 52 0 openbravo.public.obre_resource 10 2 1397 0 openbravo.profile.last_stat_tables 15 15 29505 0 openbravo.public.m_stock_aux 97 97 26431 0 openbravo.public.fin_financial_account 38 0 2983 0 openbravo.profile.last_stat_indexes 15 15 47361 0 openbravo.pg_catalog.pg_class 6 6 2912 0 openbravo.profile.last_stat_database 2 2 24 0 openbravo.pg_catalog.pg_statistic 1 1 1387 0 openbravo.public.m_transaction_last 5 5 3930 0 openbravo.public.ad_sequence 61 1 5359 0 Total 972 793 192,856 2,123 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 15 07 15 26 08 37 51 09 56 81 10 99 148 11 98 167 12 113 164 13 97 151 14 94 141 15 92 144 16 55 93 17 39 67 18 43 63 19 45 65 20 43 65 21 46 64 22 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 902 Total read queries
- 20 Total write queries
Queries by database
Key values
- openbravo Main database
- 922 Requests
- 3h27m39s (openbravo)
- Main time consuming database
Queries by user
Key values
- tad Main user
- 911 Requests
User Request type Count Duration postgres Total 11 1m17s SELECT 11 1m17s tad Total 911 3h26m21s DELETE 8 1m20s SELECT 891 3h21m25s UPDATE 12 3m35s Duration by user
Key values
- 3h26m21s (tad) Main time consuming user
User Request type Count Duration postgres Total 11 1m17s SELECT 11 1m17s tad Total 911 3h26m21s DELETE 8 1m20s SELECT 891 3h21m25s UPDATE 12 3m35s Queries by host
Key values
- 127.0.0.1 Main host
- 911 Requests
- 3h26m21s (127.0.0.1)
- Main time consuming host
Queries by application
Key values
- openbravo Main application
- 911 Requests
- 3h26m21s (openbravo)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-07-15 09:07:02 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 625 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 2m2s SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%0%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';[ Date: 2026-07-15 10:42:05 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
2 2m1s SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%0%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';[ Date: 2026-07-15 09:14:48 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
3 1m38s SELECT materialmg0_.M_InOut_ID AS M_InOut_1_463_, materialmg0_.AD_Client_ID AS AD_Clien2_463_, materialmg0_.AD_Org_ID AS AD_Org_I3_463_, materialmg0_.IsActive AS IsActive4_463_, materialmg0_.Created AS Created5_463_, materialmg0_.CreatedBy AS CreatedB6_463_, materialmg0_.Updated AS Updated7_463_, materialmg0_.UpdatedBy AS UpdatedB8_463_, materialmg0_.IsSOTrx AS IsSOTrx9_463_, materialmg0_.DocumentNo AS Documen10_463_, materialmg0_.DocAction AS DocActi11_463_, materialmg0_.DocStatus AS DocStat12_463_, materialmg0_.Posted AS Posted13_463_, materialmg0_.Processing AS Process14_463_, materialmg0_.Processed AS Process15_463_, materialmg0_.C_DocType_ID AS C_DocTy16_463_, materialmg0_.Description AS Descrip17_463_, materialmg0_.C_Order_ID AS C_Order18_463_, materialmg0_.DateOrdered AS DateOrd19_463_, materialmg0_.IsPrinted AS IsPrint20_463_, materialmg0_.MovementType AS Movemen21_463_, materialmg0_.MovementDate AS Movemen22_463_, materialmg0_.DateAcct AS DateAcc23_463_, materialmg0_.C_BPartner_ID AS C_BPart24_463_, materialmg0_.C_BPartner_Location_ID AS C_BPart25_463_, materialmg0_.M_Warehouse_ID AS M_Wareh26_463_, materialmg0_.POReference AS PORefer27_463_, materialmg0_.DeliveryRule AS Deliver28_463_, materialmg0_.FreightCostRule AS Freight29_463_, materialmg0_.FreightAmt AS Freight30_463_, materialmg0_.DeliveryViaRule AS Deliver31_463_, materialmg0_.M_Shipper_ID AS M_Shipp32_463_, materialmg0_.C_Charge_ID AS C_Charg33_463_, materialmg0_.ChargeAmt AS ChargeA34_463_, materialmg0_.PriorityRule AS Priorit35_463_, materialmg0_.DatePrinted AS DatePri36_463_, materialmg0_.C_Invoice_ID AS C_Invoi37_463_, materialmg0_.CreateFrom AS CreateF38_463_, materialmg0_.GenerateTo AS Generat39_463_, materialmg0_.AD_User_ID AS AD_User40_463_, materialmg0_.SalesRep_ID AS SalesRe41_463_, materialmg0_.NoPackages AS NoPacka42_463_, materialmg0_.PickDate AS PickDat43_463_, materialmg0_.ShipDate AS ShipDat44_463_, materialmg0_.TrackingNo AS Trackin45_463_, materialmg0_.AD_OrgTrx_ID AS AD_OrgT46_463_, materialmg0_.C_Project_ID AS C_Proje47_463_, materialmg0_.C_Campaign_ID AS C_Campa48_463_, materialmg0_.C_Activity_ID AS C_Activ49_463_, materialmg0_.User1_ID AS User50_463_, materialmg0_.User2_ID AS User51_463_, materialmg0_.UpdateLines AS UpdateL52_463_, materialmg0_.Islogistic AS Islogis53_463_, materialmg0_.Calculate_Freight AS Calcula54_463_, materialmg0_.Delivery_Location_ID AS Deliver55_463_, materialmg0_.M_FreightCategory_ID AS M_Freig56_463_, materialmg0_.Freight_Currency_ID AS Freight57_463_, materialmg0_.RM_Receipt_PickEdit AS RM_Rece58_463_, materialmg0_.RM_Shipment_Pickedit AS RM_Ship59_463_, materialmg0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm60_463_, materialmg0_.M_Condition_Goods_ID AS M_Condi61_463_, materialmg0_.A_Asset_ID AS A_Asset62_463_, materialmg0_.C_Costcenter_ID AS C_Costc63_463_, materialmg0_.Process_Goods_Java AS Process64_463_, materialmg0_.Isnettingshipment AS Isnetti65_463_, materialmg0_.Iscompletelyinvoiced AS Iscompl66_463_, materialmg0_.EM_OBMFM_Freight_ID AS EM_OBMF67_463_, materialmg0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc68_463_, materialmg0_.EM_OBMFM_Delivery_Charges AS EM_OBMF69_463_, materialmg0_.Invoicefromshipment AS Invoice70_463_, materialmg0_.Bpartner_Extref AS Bpartne71_463_, materialmg0_.EM_Prouti_Changebpartner AS EM_Prou72_463_, materialmg0_.EM_Prouti_Totalqtyreceived AS EM_Prou73_463_, materialmg0_.EM_OBMFM_Deliverynotes AS EM_OBMF74_463_, materialmg0_.EM_Prres_Description AS EM_Prre75_463_, materialmg0_.EM_Prres_Jsoninfo AS EM_Prre76_463_, materialmg0_.EM_Prrgr_Description AS EM_Prrg77_463_, materialmg0_.EM_Prrgr_Jsoninfo AS EM_Prrg78_463_, materialmg0_.EM_Prouti_Initial_Bp_ID AS EM_Prou79_463_, materialmg0_.EM_Prouti_Move_Stock AS EM_Prou80_463_, materialmg0_.EM_Prouti_Stock_Moved AS EM_Prou81_463_, materialmg0_.EM_Prqr_Execute AS EM_Prqr82_463_, materialmg0_.em_prlab_desc AS em_prla83_463_ FROM M_InOut materialmg0_ INNER JOIN C_Order order1_ ON materialmg0_.C_Order_ID = order1_.C_Order_ID CROSS JOIN C_DocType documentty2_ WHERE materialmg0_.C_DocType_ID = documentty2_.C_DocType_ID AND (upper ((order1_.DocumentNo || ' - ' || COALESCE (to_char (order1_.DateOrdered), '') || ' - ' || COALESCE (to_char (order1_.GrandTotal), ''))) LIKE upper ('%091-0058489%') ESCAPE '|') AND (materialmg0_.MovementType IN ('C-', 'C+')) AND materialmg0_.Islogistic = 'N' AND documentty2_.IsReturn = 'N' AND (materialmg0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY materialmg0_.MovementDate DESC, materialmg0_.M_InOut_ID DESC LIMIT '101';[ Date: 2026-07-15 09:15:54 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
4 1m16s SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%04%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';[ Date: 2026-07-15 10:41:19 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
5 1m15s SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%09%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';[ Date: 2026-07-15 09:14:02 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
6 1m4s SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('c_order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Campos de compras incorrectos en pedido ' || documentno AS description, 'Y' AS isActive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE (em_prouti_Received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 2) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_Invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = 'N' AND docstatus <> 'DR') AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = 'EA47197112604106A3E78741F595F654' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');[ Date: 2026-07-15 08:10:21 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
7 51s939ms SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%040%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';[ Date: 2026-07-15 10:40:55 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
8 51s5ms SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON order0_.C_BPartner_ID = businesspa1_.C_BPartner_ID CROSS JOIN C_DocType documentty2_ WHERE order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID AND (upper ((businesspa1_.Value || ' - ' || businesspa1_.Name || ' - ' || COALESCE (to_char (businesspa1_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa1_.Name2), ''))) LIKE upper ('%ALAN%') ESCAPE '|') AND order0_.IsSOTrx = 'Y' AND documentty2_.IsReturn = 'N' AND (documentty2_.DocSubTypeSO NOT LIKE 'OB') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DateOrdered DESC, order0_.C_Order_ID DESC LIMIT '101';[ Date: 2026-07-15 12:45:53 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
9 50s588ms SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%040-%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';[ Date: 2026-07-15 10:40:54 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
10 49s414ms SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%040-1%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';[ Date: 2026-07-15 10:40:57 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
11 46s281ms SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%SUCES%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';[ Date: 2026-07-15 13:30:50 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
12 45s759ms SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%091%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';[ Date: 2026-07-15 09:13:33 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
13 45s732ms SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%tara%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';[ Date: 2026-07-15 08:16:32 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
14 45s483ms SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%ALAN%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';[ Date: 2026-07-15 12:45:56 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
15 45s292ms SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%ORTHIDAL%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';[ Date: 2026-07-15 10:32:04 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
16 45s225ms SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%16429%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';[ Date: 2026-07-15 12:43:23 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
17 45s213ms SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%EFECT%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';[ Date: 2026-07-15 12:43:10 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
18 45s175ms SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE (upper ((invoice1_.DocumentNo || ' - ' || COALESCE (to_char (invoice1_.DateInvoiced), '') || ' - ' || COALESCE (to_char (invoice1_.GrandTotal), ''))) LIKE upper ('%7.7%radio%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';[ Date: 2026-07-15 10:49:41 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
19 45s111ms SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%091-0058504%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';[ Date: 2026-07-15 09:23:29 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
20 44s916ms SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%COMPA%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';[ Date: 2026-07-15 10:47:57 - Database: openbravo - User: tad - Remote: 127.0.0.1 - Application: openbravo - Bind query: yes ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 29m37s 90 16s721ms 1m4s 19s751ms SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, '' || documentno AS description, '' AS isactive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdby, now () AS updated, 0 AS updatedby FROM c_order WHERE (em_prouti_received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> '' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 0, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> '' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 0, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = '' AND docstatus <> '') aaa WHERE NOT EXISTS ( SELECT 0 FROM ad_alert a WHERE a.ad_alertrule_id = '' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, '') != '');Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 15 07 6 1m51s 18s614ms 08 6 3m10s 31s784ms 09 6 2m4s 20s786ms 10 6 2m13s 22s218ms 11 6 2m9s 21s569ms 12 6 2m14s 22s420ms 13 6 2m8s 21s348ms 14 6 1m46s 17s753ms 15 6 1m45s 17s610ms 16 6 1m42s 17s14ms 17 6 1m44s 17s385ms 18 6 1m41s 16s993ms 19 6 1m42s 17s32ms 20 6 1m41s 16s873ms 21 6 1m41s 16s870ms [ User: tad - Total duration: 29m37s - Times executed: 90 ]
[ Application: openbravo - Total duration: 29m37s - Times executed: 90 ]
-
SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('c_order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Campos de compras incorrectos en pedido ' || documentno AS description, 'Y' AS isActive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE (em_prouti_Received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 2) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_Invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = 'N' AND docstatus <> 'DR') AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = 'EA47197112604106A3E78741F595F654' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('c_order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Campos de compras incorrectos en pedido ' || documentno AS description, 'Y' AS isActive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE (em_prouti_Received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 2) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_Invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = 'N' AND docstatus <> 'DR') AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = 'EA47197112604106A3E78741F595F654' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('c_order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Campos de compras incorrectos en pedido ' || documentno AS description, 'Y' AS isActive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE (em_prouti_Received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 2) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_Invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = 'N' AND docstatus <> 'DR') AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = 'EA47197112604106A3E78741F595F654' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 08:10:21 Duration: 1m4s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:19:48 Duration: 29s997ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:29:49 Duration: 29s992ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 29m14s 75 6s529ms 2m2s 23s395ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ WHERE (upper ((order0_.documentno || '' || COALESCE (to_char (order0_.dateordered), '') || '' || COALESCE (to_char (order0_.grandtotal), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM m_inout materialmg1_ INNER JOIN c_order order2_ ON materialmg1_.c_order_id = order2_.c_order_id CROSS JOIN c_doctype documentty3_ WHERE materialmg1_.c_doctype_id = documentty3_.c_doctype_id AND (materialmg1_.movementtype IN (...)) AND materialmg1_.islogistic = '' AND documentty3_.isreturn = '' AND order2_.c_order_id = order0_.c_order_id AND (materialmg1_.ad_org_id IN (...)) AND (materialmg1_.ad_client_id IN (...)))) ORDER BY order0_.documentno, order0_.dateordered, order0_.grandtotal LIMIT '';Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 15 09 23 14m30s 37s835ms 10 16 10m38s 39s881ms 13 36 4m6s 6s841ms [ User: tad - Total duration: 29m14s - Times executed: 75 ]
[ Application: openbravo - Total duration: 29m14s - Times executed: 75 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%0%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%0%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%04%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
Date: 2026-07-15 10:42:05 Duration: 2m2s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:14:48 Duration: 2m1s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:41:19 Duration: 1m16s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 19m49s 27 42s601ms 46s281ms 44s45ms SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE EXISTS ( SELECT 0 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_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 15 07 1 42s857ms 42s857ms 08 7 5m5s 43s690ms 09 2 1m25s 42s683ms 10 2 1m30s 45s104ms 11 5 3m39s 43s829ms 12 8 5m55s 44s391ms 13 2 1m30s 45s336ms [ User: tad - Total duration: 19m49s - Times executed: 27 ]
[ Application: openbravo - Total duration: 19m49s - Times executed: 27 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%SUCES%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%tara%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%ALAN%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 13:30:50 Duration: 46s281ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:16:32 Duration: 45s732ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:45:56 Duration: 45s483ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 16m3s 22 42s647ms 45s225ms 43s795ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ WHERE EXISTS ( SELECT 0 FROM m_inout materialmg1_ LEFT OUTER JOIN c_bpartner businesspa2_ ON materialmg1_.c_bpartner_id = businesspa2_.c_bpartner_id INNER JOIN c_order order3_ ON materialmg1_.c_order_id = order3_.c_order_id WHERE (upper ((materialmg1_.documentno || '' || COALESCE (to_char (materialmg1_.movementdate), '') || '' || (businesspa2_.value || '' || businesspa2_.name || '' || COALESCE (to_char (businesspa2_.taxid), '') || '' || COALESCE (to_char (businesspa2_.name2), '')))) LIKE upper ('') ESCAPE '') AND order3_.c_order_id = order0_.c_order_id AND (materialmg1_.ad_org_id IN (...)) AND (materialmg1_.ad_client_id IN (...))) ORDER BY order0_.documentno, order0_.dateordered, order0_.grandtotal LIMIT '';Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 15 08 1 44s282ms 44s282ms 09 5 3m38s 43s742ms 10 3 2m10s 43s370ms 11 1 43s867ms 43s867ms 12 2 1m29s 44s589ms 13 10 7m17s 43s733ms [ User: tad - Total duration: 16m3s - Times executed: 22 ]
[ Application: openbravo - Total duration: 16m3s - Times executed: 22 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%16429%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%091-0058504%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%14868%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
Date: 2026-07-15 12:43:23 Duration: 45s225ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:23:29 Duration: 45s111ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:40:41 Duration: 44s282ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 12m13s 17 41s224ms 45s175ms 43s127ms SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE EXISTS ( SELECT 0 FROM c_invoice invoice1_ INNER JOIN c_bpartner businesspa2_ ON invoice1_.c_bpartner_id = businesspa2_.c_bpartner_id WHERE (upper ((invoice1_.documentno || '' || COALESCE (to_char (invoice1_.dateinvoiced), '') || '' || COALESCE (to_char (invoice1_.grandtotal), ''))) LIKE upper ('') ESCAPE '') AND businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id AND (invoice1_.ad_org_id IN (...)) AND (invoice1_.ad_client_id IN (...))) ORDER BY businesspa0_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 15 08 5 3m34s 42s963ms 10 4 2m53s 43s452ms 11 3 2m8s 42s818ms 12 2 1m27s 43s888ms 13 3 2m8s 42s768ms [ User: tad - Total duration: 12m13s - Times executed: 17 ]
[ Application: openbravo - Total duration: 12m13s - Times executed: 17 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE (upper ((invoice1_.DocumentNo || ' - ' || COALESCE (to_char (invoice1_.DateInvoiced), '') || ' - ' || COALESCE (to_char (invoice1_.GrandTotal), ''))) LIKE upper ('%7.7%radio%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE (upper ((invoice1_.DocumentNo || ' - ' || COALESCE (to_char (invoice1_.DateInvoiced), '') || ' - ' || COALESCE (to_char (invoice1_.GrandTotal), ''))) LIKE upper ('%OKHURRA%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE (upper ((invoice1_.DocumentNo || ' - ' || COALESCE (to_char (invoice1_.DateInvoiced), '') || ' - ' || COALESCE (to_char (invoice1_.GrandTotal), ''))) LIKE upper ('%armas%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 10:49:41 Duration: 45s175ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:40:25 Duration: 44s336ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:32:04 Duration: 44s128ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 12m9s 81 7s756ms 13s246ms 9s10ms SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, '' || fa.name || '' || fa.currentbalance || '' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) || '' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) AS description, '' AS isactive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdby, now () AS updated, 0 AS updatedby FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) aaa WHERE NOT EXISTS ( SELECT 0 FROM ad_alert a WHERE a.ad_alertrule_id = '' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, '') != '');Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 15 07 6 47s525ms 7s920ms 08 5 54s85ms 10s817ms 09 3 29s666ms 9s888ms 10 5 59s238ms 11s847ms 11 4 40s316ms 10s79ms 12 6 1m10s 11s701ms 13 5 52s735ms 10s547ms 14 5 41s128ms 8s225ms 15 6 48s717ms 8s119ms 16 6 47s823ms 7s970ms 17 6 48s280ms 8s46ms 18 6 47s902ms 7s983ms 19 6 47s701ms 7s950ms 20 6 47s147ms 7s857ms 21 6 47s336ms 7s889ms [ User: tad - Total duration: 12m9s - Times executed: 81 ]
[ Application: openbravo - Total duration: 12m9s - Times executed: 81 ]
-
SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = '20047DCF451F49F095E5D09B810A6AEA' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = '20047DCF451F49F095E5D09B810A6AEA' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = '20047DCF451F49F095E5D09B810A6AEA' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 10:59:20 Duration: 13s246ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:29:18 Duration: 13s116ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:49:19 Duration: 12s595ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 4m5s 32 5s572ms 29s860ms 7s662ms SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE (upper ((businesspa0_.value || '' || businesspa0_.name || '' || COALESCE (to_char (businesspa0_.taxid), '') || '' || COALESCE (to_char (businesspa0_.name2), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM c_order order1_ INNER JOIN c_bpartner businesspa2_ ON order1_.c_bpartner_id = businesspa2_.c_bpartner_id CROSS JOIN c_doctype documentty3_ WHERE order1_.c_doctypetarget_id = documentty3_.c_doctype_id AND order1_.issotrx = '' AND documentty3_.isreturn = '' AND businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id AND (order1_.ad_org_id IN (...)) AND (order1_.ad_client_id IN (...)))) ORDER BY businesspa0_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 15 07 1 5s908ms 5s908ms 08 10 1m48s 10s835ms 09 3 17s84ms 5s694ms 10 3 19s286ms 6s428ms 11 7 45s803ms 6s543ms 12 5 30s451ms 6s90ms 13 3 18s324ms 6s108ms [ User: tad - Total duration: 4m5s - Times executed: 32 ]
[ Application: openbravo - Total duration: 4m5s - Times executed: 32 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%A%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN C_BPartner businesspa2_ ON order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID CROSS JOIN C_DocType documentty3_ WHERE order1_.C_DocTypeTarget_ID = documentty3_.C_DocType_ID AND order1_.IsSOTrx = 'N' AND documentty3_.IsReturn = 'N' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%AL%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN C_BPartner businesspa2_ ON order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID CROSS JOIN C_DocType documentty3_ WHERE order1_.C_DocTypeTarget_ID = documentty3_.C_DocType_ID AND order1_.IsSOTrx = 'N' AND documentty3_.IsReturn = 'N' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%d%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN C_BPartner businesspa2_ ON order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID CROSS JOIN C_DocType documentty3_ WHERE order1_.C_DocTypeTarget_ID = documentty3_.C_DocType_ID AND order1_.IsSOTrx = 'N' AND documentty3_.IsReturn = 'N' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 08:40:19 Duration: 29s860ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:40:19 Duration: 29s612ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 11:44:54 Duration: 7s823ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 3m35s 12 6s899ms 44s157ms 17s963ms UPDATE m_requisitionline rl SET em_cactl_consumption = cactl_calculate_consumption (rl.m_product_id, rl.ad_org_id, rl.ad_client_id) FROM m_requisition r WHERE rl.reqstatus = '' AND rl.m_requisition_id = r.m_requisition_id AND r.docstatus = '';Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 15 07 1 39s987ms 39s987ms 08 1 44s157ms 44s157ms 10 1 26s620ms 26s620ms 11 1 23s422ms 23s422ms 14 1 6s899ms 6s899ms 15 1 15s266ms 15s266ms 16 1 10s120ms 10s120ms 17 1 10s377ms 10s377ms 18 1 10s79ms 10s79ms 19 1 9s433ms 9s433ms 20 1 9s904ms 9s904ms 21 1 9s291ms 9s291ms [ User: tad - Total duration: 3m35s - Times executed: 12 ]
[ Application: openbravo - Total duration: 3m35s - Times executed: 12 ]
-
UPDATE m_requisitionline rl SET em_cactl_consumption = cactl_calculate_consumption (rl.m_product_id, rl.ad_org_id, rl.ad_client_id) FROM m_requisition r WHERE rl.reqstatus = 'O' AND rl.m_requisition_id = r.m_requisition_id AND r.docstatus = 'CO';
-
UPDATE m_requisitionline rl SET em_cactl_consumption = cactl_calculate_consumption (rl.m_product_id, rl.ad_org_id, rl.ad_client_id) FROM m_requisition r WHERE rl.reqstatus = 'O' AND rl.m_requisition_id = r.m_requisition_id AND r.docstatus = 'CO';
-
UPDATE m_requisitionline rl SET em_cactl_consumption = cactl_calculate_consumption (rl.m_product_id, rl.ad_org_id, rl.ad_client_id) FROM m_requisition r WHERE rl.reqstatus = 'O' AND rl.m_requisition_id = r.m_requisition_id AND r.docstatus = 'CO';
Date: 2026-07-15 08:20:44 Duration: 44s157ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 07:20:40 Duration: 39s987ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:20:26 Duration: 26s620ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 3m29s 34 5s791ms 6s964ms 6s149ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.datepromised DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 15 08 6 36s305ms 6s50ms 09 6 36s834ms 6s139ms 10 6 36s130ms 6s21ms 11 3 19s478ms 6s492ms 12 10 1m 6s81ms 13 3 19s528ms 6s509ms [ User: tad - Total duration: 3m29s - Times executed: 34 ]
[ Application: openbravo - Total duration: 3m29s - Times executed: 34 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 11:39:27 Duration: 6s964ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:01:23 Duration: 6s882ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:00:10 Duration: 6s513ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 3m22s 15 6s313ms 41s123ms 13s480ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ WHERE (upper ((order0_.documentno || '' || COALESCE (to_char (order0_.dateordered), '') || '' || COALESCE (to_char (order0_.grandtotal), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM m_inout materialmg1_ INNER JOIN c_order order2_ ON materialmg1_.c_order_id = order2_.c_order_id CROSS JOIN c_doctype documentty3_ WHERE materialmg1_.c_doctype_id = documentty3_.c_doctype_id AND (materialmg1_.movementtype IN (...)) AND materialmg1_.islogistic = '' AND documentty3_.isreturn = '' AND order2_.c_order_id = order0_.c_order_id AND (materialmg1_.ad_org_id IN (...)) AND (materialmg1_.ad_client_id IN (...)))) ORDER BY order0_.documentno, order0_.dateordered, order0_.grandtotal LIMIT '' OFFSET '';Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 15 09 3 1m28s 29s356ms 10 2 47s581ms 23s790ms 13 10 1m6s 6s655ms [ User: tad - Total duration: 3m22s - Times executed: 15 ]
[ Application: openbravo - Total duration: 3m22s - Times executed: 15 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%091-0058489%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '75' OFFSET '38';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%040-1372571%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '75' OFFSET '38';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%091-0058504%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '75' OFFSET '38';
Date: 2026-07-15 09:15:30 Duration: 41s123ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:42:47 Duration: 41s27ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:22:44 Duration: 40s633ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 3m8s 24 5s841ms 14s5ms 7s866ms SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE (upper ((businesspa0_.value || '' || businesspa0_.name || '' || COALESCE (to_char (businesspa0_.taxid), '') || '' || COALESCE (to_char (businesspa0_.name2), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM c_invoice invoice1_ INNER JOIN c_bpartner businesspa2_ ON invoice1_.c_bpartner_id = businesspa2_.c_bpartner_id WHERE invoice1_.issotrx = '' AND invoice1_.docstatus <> '' AND businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id AND (invoice1_.ad_org_id IN (...)) AND (invoice1_.ad_client_id IN (...)))) ORDER BY businesspa0_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 15 08 7 56s892ms 8s127ms 09 2 15s624ms 7s812ms 10 6 49s168ms 8s194ms 11 4 25s41ms 6s260ms 12 2 23s328ms 11s664ms 13 3 18s750ms 6s250ms [ User: tad - Total duration: 3m8s - Times executed: 24 ]
[ Application: openbravo - Total duration: 3m8s - Times executed: 24 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%ME%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE invoice1_.IsSOTrx = 'Y' AND invoice1_.DocStatus <> 'TEMP' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%co%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE invoice1_.IsSOTrx = 'N' AND invoice1_.DocStatus <> 'TEMP' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%ar%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE invoice1_.IsSOTrx = 'N' AND invoice1_.DocStatus <> 'TEMP' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 12:42:40 Duration: 14s5ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:15:23 Duration: 11s670ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:31:19 Duration: 11s473ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 3m7s 28 5s607ms 11s289ms 6s710ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.dateordered DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 15 07 5 32s453ms 6s490ms 08 3 17s920ms 5s973ms 09 1 7s71ms 7s71ms 10 7 52s601ms 7s514ms 11 7 42s129ms 6s18ms 12 5 35s714ms 7s142ms [ User: tad - Total duration: 3m7s - Times executed: 28 ]
[ Application: openbravo - Total duration: 3m7s - Times executed: 28 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'Y' AND (order0_.Updated > '2026-07-14 10:17:36.879' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DateOrdered DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 10:00:34.262' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DateOrdered DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'Y' AND (order0_.Updated > '2026-07-14 12:18:23.301' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DateOrdered DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 10:17:48 Duration: 11s289ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:00:44 Duration: 10s553ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:18:33 Duration: 9s954ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 2m43s 18 7s753ms 14s456ms 9s79ms SELECT invoice0_.c_invoice_id AS c_invoic1_260_, invoice0_.ad_client_id AS ad_clien2_260_, invoice0_.ad_org_id AS ad_org_i3_260_, invoice0_.isactive AS isactive4_260_, invoice0_.created AS created5_260_, invoice0_.createdby AS createdb6_260_, invoice0_.updated AS updated7_260_, invoice0_.updatedby AS updatedb8_260_, invoice0_.issotrx AS issotrx9_260_, invoice0_.documentno AS documen10_260_, invoice0_.docstatus AS docstat11_260_, invoice0_.docaction AS docacti12_260_, invoice0_.processing AS process13_260_, invoice0_.processed AS process14_260_, invoice0_.posted AS posted15_260_, invoice0_.c_doctype_id AS c_docty16_260_, invoice0_.c_doctypetarget_id AS c_docty17_260_, invoice0_.c_order_id AS c_order18_260_, invoice0_.description AS descrip19_260_, invoice0_.isprinted AS isprint20_260_, invoice0_.salesrep_id AS salesre21_260_, invoice0_.dateinvoiced AS dateinv22_260_, invoice0_.dateprinted AS datepri23_260_, invoice0_.dateacct AS dateacc24_260_, invoice0_.c_bpartner_id AS c_bpart25_260_, invoice0_.c_bpartner_location_id AS c_bpart26_260_, invoice0_.poreference AS porefer27_260_, invoice0_.isdiscountprinted AS isdisco28_260_, invoice0_.dateordered AS dateord29_260_, invoice0_.c_currency_id AS c_curre30_260_, invoice0_.c_paymentterm_id AS c_payme31_260_, invoice0_.c_charge_id AS c_charg32_260_, invoice0_.chargeamt AS chargea33_260_, invoice0_.totallines AS totalli34_260_, invoice0_.grandtotal AS grandto35_260_, invoice0_.m_pricelist_id AS m_price36_260_, invoice0_.istaxincluded AS istaxin37_260_, invoice0_.c_campaign_id AS c_campa38_260_, invoice0_.c_project_id AS c_proje39_260_, invoice0_.c_activity_id AS c_activ40_260_, invoice0_.createfrom AS createf41_260_, invoice0_.generateto AS generat42_260_, invoice0_.ad_user_id AS ad_user43_260_, invoice0_.copyfrom AS copyfro44_260_, invoice0_.isselfservice AS isselfs45_260_, invoice0_.ad_orgtrx_id AS ad_orgt46_260_, invoice0_.user1_id AS user47_260_, invoice0_.user2_id AS user48_260_, invoice0_.withholdingamount AS withhol49_260_, invoice0_.taxdate AS taxdate50_260_, invoice0_.c_withholding_id AS c_withh51_260_, invoice0_.ispaid AS ispaid52_260_, invoice0_.em_einv_generated AS em_einv53_260_, invoice0_.totalpaid AS totalpa54_260_, invoice0_.em_einv_sent AS em_einv55_260_, invoice0_.outstandingamt AS outstan56_260_, invoice0_.daystilldue AS daystil57_260_, invoice0_.dueamt AS dueamt58_260_, invoice0_.lastcalculatedondate AS lastcal59_260_, invoice0_.fin_paymentmethod_id AS fin_pay60_260_, invoice0_.fin_payment_priority_id AS fin_pay61_260_, invoice0_.finalsettlement AS finalse62_260_, invoice0_.daysoutstanding AS daysout63_260_, invoice0_.percentageoverdue AS percent64_260_, invoice0_.c_costcenter_id AS c_costc65_260_, invoice0_.calculate_promotions AS calcula66_260_, invoice0_.a_asset_id AS a_asset67_260_, invoice0_.em_aprm_addpayment AS em_aprm68_260_, invoice0_.iscashvat AS iscashv69_260_, invoice0_.em_aprm_processinvoice AS em_aprm70_260_, invoice0_.em_obcma_c_poc_email_id AS em_obcm71_260_, invoice0_.prepaymentamt AS prepaym72_260_, invoice0_.createfromorders AS createf73_260_, invoice0_.createfrominouts AS createf74_260_, invoice0_.em_advcrm_newactivity AS em_advc75_260_, invoice0_.paidamtatinvoicing AS paidamt76_260_, invoice0_.em_obpos_rounding_amount AS em_obpo77_260_, invoice0_.em_sgpcrm_securitygroups_id AS em_sgpc78_260_, invoice0_.bpartner_extref AS bpartne79_260_, invoice0_.em_aeatsii_send AS em_aeat80_260_, invoice0_.em_obpos_sequencename AS em_obpo81_260_, invoice0_.em_aeatsii_issent AS em_aeat82_260_, invoice0_.em_obpos_sequencenumber AS em_obpo83_260_, invoice0_.em_aeatsii_fecha_operacion AS em_aeat84_260_, invoice0_.em_aeatsii_clave_tipo AS em_aeat85_260_, invoice0_.em_aeatsii_motivo_rectif AS em_aeat86_260_, invoice0_.em_prouti_recalculate_price AS em_prou87_260_, invoice0_.em_aeatsii_clave_tipo_fc AS em_aeat88_260_, invoice0_.em_ml_select_product AS em_ml_s89_260_, invoice0_.em_prouti_pricecalculatetdate AS em_prou90_260_, invoice0_.em_aeatsii_tipo_rectif AS em_aeat91_260_, invoice0_.em_prouti_totalizations AS em_prou92_260_, invoice0_.em_aeatsii_dua AS em_aeat93_260_, invoice0_.em_aeatsii_fecha_dua AS em_aeat94_260_, invoice0_.em_aeatsii_estado AS em_aeat95_260_, invoice0_.em_aeatsii_error_registral AS em_aeat96_260_, invoice0_.em_aeatsii_modif AS em_aeat97_260_, invoice0_.em_aeatsii_modified AS em_aeat98_260_, invoice0_.em_aeatsii_description_id AS em_aeat99_260_, invoice0_.em_aeatsii_descripcion_sii AS em_aea100_260_, invoice0_.em_aeatsii_fecha_reg_cont AS em_aea101_260_, invoice0_.em_aeatsii_dup AS em_aea102_260_, invoice0_.em_aeatsii_error_code AS em_aea103_260_, invoice0_.em_aeatsii_error_msg AS em_aea104_260_, invoice0_.em_aeatsii_unsubscribe AS em_aea105_260_, invoice0_.em_aeatsii_pur_description_id AS em_aea106_260_, invoice0_.em_aeatsii_multi_dua AS em_aea107_260_, invoice0_.em_aeatsii_ejercicio AS em_aea108_260_, invoice0_.em_aeatsii_periodo AS em_aea109_260_, invoice0_.em_aeatsii_autofactura AS em_aea110_260_, invoice0_.em_aeatsii_invoice_id AS em_aea111_260_, invoice0_.em_aeatsii_insiidate AS em_aea112_260_, invoice0_.em_aeatsii_cause_exemption_id AS em_aea113_260_, invoice0_.em_aeatsii_isauthorization AS em_aea114_260_, invoice0_.em_aeatsii_authorizationno AS em_aea115_260_, invoice0_.em_priuti_createpurchinv AS em_pri116_260_, invoice0_.em_priuti_generated AS em_pri117_260_, invoice0_.em_priuti_date_complete AS em_pri118_260_, invoice0_.em_prges_expediente_id AS em_prg119_260_, invoice0_.em_priuti_user_complete_id AS em_pri120_260_, invoice0_.em_prges_annotation_id AS em_prg121_260_, invoice0_.em_prges_record_number AS em_prg122_260_, invoice0_.em_priuti_status_of_review AS em_pri123_260_, invoice0_.em_prges_grantotal AS em_prg124_260_, invoice0_.em_priuti_validate AS em_pri125_260_, invoice0_.em_priuti_start_review AS em_pri126_260_, invoice0_.em_prges_poreference AS em_prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM c_invoice invoice0_ LEFT OUTER JOIN c_bpartner businesspa1_ ON invoice0_.c_bpartner_id = businesspa1_.c_bpartner_id WHERE (upper (invoice0_.documentno) LIKE upper ('') ESCAPE '') AND (upper ((businesspa1_.value || '' || businesspa1_.name || '' || COALESCE (to_char (businesspa1_.taxid), '') || '' || COALESCE (to_char (businesspa1_.name2), ''))) LIKE upper ('') ESCAPE '') AND invoice0_.issotrx = '' AND invoice0_.docstatus <> '' AND (invoice0_.ad_org_id IN (...)) AND (invoice0_.ad_client_id IN (...)) ORDER BY invoice0_.c_invoice_id DESC LIMIT '';Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 15 12 18 2m43s 9s79ms [ User: tad - Total duration: 2m43s - Times executed: 18 ]
[ Application: openbravo - Total duration: 2m43s - Times executed: 18 ]
-
SELECT invoice0_.C_Invoice_ID AS C_Invoic1_260_, invoice0_.AD_Client_ID AS AD_Clien2_260_, invoice0_.AD_Org_ID AS AD_Org_I3_260_, invoice0_.IsActive AS IsActive4_260_, invoice0_.Created AS Created5_260_, invoice0_.CreatedBy AS CreatedB6_260_, invoice0_.Updated AS Updated7_260_, invoice0_.UpdatedBy AS UpdatedB8_260_, invoice0_.IsSOTrx AS IsSOTrx9_260_, invoice0_.DocumentNo AS Documen10_260_, invoice0_.DocStatus AS DocStat11_260_, invoice0_.DocAction AS DocActi12_260_, invoice0_.Processing AS Process13_260_, invoice0_.Processed AS Process14_260_, invoice0_.Posted AS Posted15_260_, invoice0_.C_DocType_ID AS C_DocTy16_260_, invoice0_.C_DocTypeTarget_ID AS C_DocTy17_260_, invoice0_.C_Order_ID AS C_Order18_260_, invoice0_.Description AS Descrip19_260_, invoice0_.IsPrinted AS IsPrint20_260_, invoice0_.SalesRep_ID AS SalesRe21_260_, invoice0_.DateInvoiced AS DateInv22_260_, invoice0_.DatePrinted AS DatePri23_260_, invoice0_.DateAcct AS DateAcc24_260_, invoice0_.C_BPartner_ID AS C_BPart25_260_, invoice0_.C_BPartner_Location_ID AS C_BPart26_260_, invoice0_.POReference AS PORefer27_260_, invoice0_.IsDiscountPrinted AS IsDisco28_260_, invoice0_.DateOrdered AS DateOrd29_260_, invoice0_.C_Currency_ID AS C_Curre30_260_, invoice0_.C_PaymentTerm_ID AS C_Payme31_260_, invoice0_.C_Charge_ID AS C_Charg32_260_, invoice0_.ChargeAmt AS ChargeA33_260_, invoice0_.TotalLines AS TotalLi34_260_, invoice0_.GrandTotal AS GrandTo35_260_, invoice0_.M_PriceList_ID AS M_Price36_260_, invoice0_.IsTaxIncluded AS IsTaxIn37_260_, invoice0_.C_Campaign_ID AS C_Campa38_260_, invoice0_.C_Project_ID AS C_Proje39_260_, invoice0_.C_Activity_ID AS C_Activ40_260_, invoice0_.CreateFrom AS CreateF41_260_, invoice0_.GenerateTo AS Generat42_260_, invoice0_.AD_User_ID AS AD_User43_260_, invoice0_.CopyFrom AS CopyFro44_260_, invoice0_.IsSelfService AS IsSelfS45_260_, invoice0_.AD_OrgTrx_ID AS AD_OrgT46_260_, invoice0_.User1_ID AS User47_260_, invoice0_.User2_ID AS User48_260_, invoice0_.Withholdingamount AS Withhol49_260_, invoice0_.Taxdate AS Taxdate50_260_, invoice0_.C_Withholding_ID AS C_Withh51_260_, invoice0_.Ispaid AS Ispaid52_260_, invoice0_.EM_Einv_Generated AS EM_Einv53_260_, invoice0_.Totalpaid AS Totalpa54_260_, invoice0_.EM_Einv_Sent AS EM_Einv55_260_, invoice0_.OutstandingAmt AS Outstan56_260_, invoice0_.DaysTillDue AS DaysTil57_260_, invoice0_.DueAmt AS DueAmt58_260_, invoice0_.LastCalculatedOnDate AS LastCal59_260_, invoice0_.FIN_Paymentmethod_ID AS FIN_Pay60_260_, invoice0_.FIN_Payment_Priority_ID AS FIN_Pay61_260_, invoice0_.Finalsettlement AS Finalse62_260_, invoice0_.Daysoutstanding AS Daysout63_260_, invoice0_.Percentageoverdue AS Percent64_260_, invoice0_.C_Costcenter_ID AS C_Costc65_260_, invoice0_.Calculate_Promotions AS Calcula66_260_, invoice0_.A_Asset_ID AS A_Asset67_260_, invoice0_.EM_APRM_Addpayment AS EM_APRM68_260_, invoice0_.Iscashvat AS Iscashv69_260_, invoice0_.EM_APRM_Processinvoice AS EM_APRM70_260_, invoice0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm71_260_, invoice0_.Prepaymentamt AS Prepaym72_260_, invoice0_.Createfromorders AS Createf73_260_, invoice0_.Createfrominouts AS Createf74_260_, invoice0_.EM_Advcrm_Newactivity AS EM_Advc75_260_, invoice0_.Paidamtatinvoicing AS Paidamt76_260_, invoice0_.EM_Obpos_Rounding_Amount AS EM_Obpo77_260_, invoice0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc78_260_, invoice0_.BPartner_ExtRef AS BPartne79_260_, invoice0_.EM_Aeatsii_Send AS EM_Aeat80_260_, invoice0_.EM_Obpos_Sequencename AS EM_Obpo81_260_, invoice0_.EM_Aeatsii_Issent AS EM_Aeat82_260_, invoice0_.EM_Obpos_Sequencenumber AS EM_Obpo83_260_, invoice0_.EM_Aeatsii_Fecha_Operacion AS EM_Aeat84_260_, invoice0_.EM_Aeatsii_Clave_Tipo AS EM_Aeat85_260_, invoice0_.EM_Aeatsii_Motivo_Rectif AS EM_Aeat86_260_, invoice0_.EM_Prouti_Recalculate_Price AS EM_Prou87_260_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc AS EM_Aeat88_260_, invoice0_.EM_Ml_Select_Product AS EM_Ml_S89_260_, invoice0_.EM_Prouti_Pricecalculatetdate AS EM_Prou90_260_, invoice0_.EM_Aeatsii_Tipo_Rectif AS EM_Aeat91_260_, invoice0_.EM_Prouti_Totalizations AS EM_Prou92_260_, invoice0_.EM_Aeatsii_Dua AS EM_Aeat93_260_, invoice0_.EM_Aeatsii_Fecha_Dua AS EM_Aeat94_260_, invoice0_.EM_Aeatsii_Estado AS EM_Aeat95_260_, invoice0_.EM_Aeatsii_Error_Registral AS EM_Aeat96_260_, invoice0_.EM_Aeatsii_Modif AS EM_Aeat97_260_, invoice0_.EM_Aeatsii_Modified AS EM_Aeat98_260_, invoice0_.EM_Aeatsii_Description_ID AS EM_Aeat99_260_, invoice0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea100_260_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont AS EM_Aea101_260_, invoice0_.EM_Aeatsii_Dup AS EM_Aea102_260_, invoice0_.EM_Aeatsii_Error_Code AS EM_Aea103_260_, invoice0_.EM_Aeatsii_Error_Msg AS EM_Aea104_260_, invoice0_.EM_Aeatsii_Unsubscribe AS EM_Aea105_260_, invoice0_.EM_Aeatsii_Pur_Description_ID AS EM_Aea106_260_, invoice0_.EM_Aeatsii_Multi_Dua AS EM_Aea107_260_, invoice0_.EM_Aeatsii_Ejercicio AS EM_Aea108_260_, invoice0_.EM_Aeatsii_Periodo AS EM_Aea109_260_, invoice0_.EM_Aeatsii_Autofactura AS EM_Aea110_260_, invoice0_.EM_Aeatsii_Invoice_ID AS EM_Aea111_260_, invoice0_.EM_Aeatsii_Insiidate AS EM_Aea112_260_, invoice0_.EM_Aeatsii_Cause_Exemption_ID AS EM_Aea113_260_, invoice0_.EM_Aeatsii_Isauthorization AS EM_Aea114_260_, invoice0_.EM_Aeatsii_Authorizationno AS EM_Aea115_260_, invoice0_.EM_Priuti_Createpurchinv AS EM_Pri116_260_, invoice0_.EM_Priuti_Generated AS EM_Pri117_260_, invoice0_.EM_Priuti_Date_Complete AS EM_Pri118_260_, invoice0_.EM_Prges_Expediente_ID AS EM_Prg119_260_, invoice0_.EM_Priuti_User_Complete_ID AS EM_Pri120_260_, invoice0_.EM_Prges_Annotation_ID AS EM_Prg121_260_, invoice0_.EM_Prges_Record_Number AS EM_Prg122_260_, invoice0_.EM_Priuti_Status_Of_Review AS EM_Pri123_260_, invoice0_.EM_Prges_Grantotal AS EM_Prg124_260_, invoice0_.EM_Priuti_Validate AS EM_Pri125_260_, invoice0_.EM_Priuti_Start_Review AS EM_Pri126_260_, invoice0_.EM_Prges_Poreference AS EM_Prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM C_Invoice invoice0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON invoice0_.C_BPartner_ID = businesspa1_.C_BPartner_ID WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%M%') ESCAPE '|') AND (upper ((businesspa1_.Value || ' - ' || businesspa1_.Name || ' - ' || COALESCE (to_char (businesspa1_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa1_.Name2), ''))) LIKE upper ('%TUI%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY invoice0_.C_Invoice_ID DESC LIMIT '101';
-
SELECT invoice0_.C_Invoice_ID AS C_Invoic1_260_, invoice0_.AD_Client_ID AS AD_Clien2_260_, invoice0_.AD_Org_ID AS AD_Org_I3_260_, invoice0_.IsActive AS IsActive4_260_, invoice0_.Created AS Created5_260_, invoice0_.CreatedBy AS CreatedB6_260_, invoice0_.Updated AS Updated7_260_, invoice0_.UpdatedBy AS UpdatedB8_260_, invoice0_.IsSOTrx AS IsSOTrx9_260_, invoice0_.DocumentNo AS Documen10_260_, invoice0_.DocStatus AS DocStat11_260_, invoice0_.DocAction AS DocActi12_260_, invoice0_.Processing AS Process13_260_, invoice0_.Processed AS Process14_260_, invoice0_.Posted AS Posted15_260_, invoice0_.C_DocType_ID AS C_DocTy16_260_, invoice0_.C_DocTypeTarget_ID AS C_DocTy17_260_, invoice0_.C_Order_ID AS C_Order18_260_, invoice0_.Description AS Descrip19_260_, invoice0_.IsPrinted AS IsPrint20_260_, invoice0_.SalesRep_ID AS SalesRe21_260_, invoice0_.DateInvoiced AS DateInv22_260_, invoice0_.DatePrinted AS DatePri23_260_, invoice0_.DateAcct AS DateAcc24_260_, invoice0_.C_BPartner_ID AS C_BPart25_260_, invoice0_.C_BPartner_Location_ID AS C_BPart26_260_, invoice0_.POReference AS PORefer27_260_, invoice0_.IsDiscountPrinted AS IsDisco28_260_, invoice0_.DateOrdered AS DateOrd29_260_, invoice0_.C_Currency_ID AS C_Curre30_260_, invoice0_.C_PaymentTerm_ID AS C_Payme31_260_, invoice0_.C_Charge_ID AS C_Charg32_260_, invoice0_.ChargeAmt AS ChargeA33_260_, invoice0_.TotalLines AS TotalLi34_260_, invoice0_.GrandTotal AS GrandTo35_260_, invoice0_.M_PriceList_ID AS M_Price36_260_, invoice0_.IsTaxIncluded AS IsTaxIn37_260_, invoice0_.C_Campaign_ID AS C_Campa38_260_, invoice0_.C_Project_ID AS C_Proje39_260_, invoice0_.C_Activity_ID AS C_Activ40_260_, invoice0_.CreateFrom AS CreateF41_260_, invoice0_.GenerateTo AS Generat42_260_, invoice0_.AD_User_ID AS AD_User43_260_, invoice0_.CopyFrom AS CopyFro44_260_, invoice0_.IsSelfService AS IsSelfS45_260_, invoice0_.AD_OrgTrx_ID AS AD_OrgT46_260_, invoice0_.User1_ID AS User47_260_, invoice0_.User2_ID AS User48_260_, invoice0_.Withholdingamount AS Withhol49_260_, invoice0_.Taxdate AS Taxdate50_260_, invoice0_.C_Withholding_ID AS C_Withh51_260_, invoice0_.Ispaid AS Ispaid52_260_, invoice0_.EM_Einv_Generated AS EM_Einv53_260_, invoice0_.Totalpaid AS Totalpa54_260_, invoice0_.EM_Einv_Sent AS EM_Einv55_260_, invoice0_.OutstandingAmt AS Outstan56_260_, invoice0_.DaysTillDue AS DaysTil57_260_, invoice0_.DueAmt AS DueAmt58_260_, invoice0_.LastCalculatedOnDate AS LastCal59_260_, invoice0_.FIN_Paymentmethod_ID AS FIN_Pay60_260_, invoice0_.FIN_Payment_Priority_ID AS FIN_Pay61_260_, invoice0_.Finalsettlement AS Finalse62_260_, invoice0_.Daysoutstanding AS Daysout63_260_, invoice0_.Percentageoverdue AS Percent64_260_, invoice0_.C_Costcenter_ID AS C_Costc65_260_, invoice0_.Calculate_Promotions AS Calcula66_260_, invoice0_.A_Asset_ID AS A_Asset67_260_, invoice0_.EM_APRM_Addpayment AS EM_APRM68_260_, invoice0_.Iscashvat AS Iscashv69_260_, invoice0_.EM_APRM_Processinvoice AS EM_APRM70_260_, invoice0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm71_260_, invoice0_.Prepaymentamt AS Prepaym72_260_, invoice0_.Createfromorders AS Createf73_260_, invoice0_.Createfrominouts AS Createf74_260_, invoice0_.EM_Advcrm_Newactivity AS EM_Advc75_260_, invoice0_.Paidamtatinvoicing AS Paidamt76_260_, invoice0_.EM_Obpos_Rounding_Amount AS EM_Obpo77_260_, invoice0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc78_260_, invoice0_.BPartner_ExtRef AS BPartne79_260_, invoice0_.EM_Aeatsii_Send AS EM_Aeat80_260_, invoice0_.EM_Obpos_Sequencename AS EM_Obpo81_260_, invoice0_.EM_Aeatsii_Issent AS EM_Aeat82_260_, invoice0_.EM_Obpos_Sequencenumber AS EM_Obpo83_260_, invoice0_.EM_Aeatsii_Fecha_Operacion AS EM_Aeat84_260_, invoice0_.EM_Aeatsii_Clave_Tipo AS EM_Aeat85_260_, invoice0_.EM_Aeatsii_Motivo_Rectif AS EM_Aeat86_260_, invoice0_.EM_Prouti_Recalculate_Price AS EM_Prou87_260_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc AS EM_Aeat88_260_, invoice0_.EM_Ml_Select_Product AS EM_Ml_S89_260_, invoice0_.EM_Prouti_Pricecalculatetdate AS EM_Prou90_260_, invoice0_.EM_Aeatsii_Tipo_Rectif AS EM_Aeat91_260_, invoice0_.EM_Prouti_Totalizations AS EM_Prou92_260_, invoice0_.EM_Aeatsii_Dua AS EM_Aeat93_260_, invoice0_.EM_Aeatsii_Fecha_Dua AS EM_Aeat94_260_, invoice0_.EM_Aeatsii_Estado AS EM_Aeat95_260_, invoice0_.EM_Aeatsii_Error_Registral AS EM_Aeat96_260_, invoice0_.EM_Aeatsii_Modif AS EM_Aeat97_260_, invoice0_.EM_Aeatsii_Modified AS EM_Aeat98_260_, invoice0_.EM_Aeatsii_Description_ID AS EM_Aeat99_260_, invoice0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea100_260_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont AS EM_Aea101_260_, invoice0_.EM_Aeatsii_Dup AS EM_Aea102_260_, invoice0_.EM_Aeatsii_Error_Code AS EM_Aea103_260_, invoice0_.EM_Aeatsii_Error_Msg AS EM_Aea104_260_, invoice0_.EM_Aeatsii_Unsubscribe AS EM_Aea105_260_, invoice0_.EM_Aeatsii_Pur_Description_ID AS EM_Aea106_260_, invoice0_.EM_Aeatsii_Multi_Dua AS EM_Aea107_260_, invoice0_.EM_Aeatsii_Ejercicio AS EM_Aea108_260_, invoice0_.EM_Aeatsii_Periodo AS EM_Aea109_260_, invoice0_.EM_Aeatsii_Autofactura AS EM_Aea110_260_, invoice0_.EM_Aeatsii_Invoice_ID AS EM_Aea111_260_, invoice0_.EM_Aeatsii_Insiidate AS EM_Aea112_260_, invoice0_.EM_Aeatsii_Cause_Exemption_ID AS EM_Aea113_260_, invoice0_.EM_Aeatsii_Isauthorization AS EM_Aea114_260_, invoice0_.EM_Aeatsii_Authorizationno AS EM_Aea115_260_, invoice0_.EM_Priuti_Createpurchinv AS EM_Pri116_260_, invoice0_.EM_Priuti_Generated AS EM_Pri117_260_, invoice0_.EM_Priuti_Date_Complete AS EM_Pri118_260_, invoice0_.EM_Prges_Expediente_ID AS EM_Prg119_260_, invoice0_.EM_Priuti_User_Complete_ID AS EM_Pri120_260_, invoice0_.EM_Prges_Annotation_ID AS EM_Prg121_260_, invoice0_.EM_Prges_Record_Number AS EM_Prg122_260_, invoice0_.EM_Priuti_Status_Of_Review AS EM_Pri123_260_, invoice0_.EM_Prges_Grantotal AS EM_Prg124_260_, invoice0_.EM_Priuti_Validate AS EM_Pri125_260_, invoice0_.EM_Priuti_Start_Review AS EM_Pri126_260_, invoice0_.EM_Prges_Poreference AS EM_Prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM C_Invoice invoice0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON invoice0_.C_BPartner_ID = businesspa1_.C_BPartner_ID WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1605%') ESCAPE '|') AND (upper ((businesspa1_.Value || ' - ' || businesspa1_.Name || ' - ' || COALESCE (to_char (businesspa1_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa1_.Name2), ''))) LIKE upper ('%TUI%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY invoice0_.C_Invoice_ID DESC LIMIT '101';
-
SELECT invoice0_.C_Invoice_ID AS C_Invoic1_260_, invoice0_.AD_Client_ID AS AD_Clien2_260_, invoice0_.AD_Org_ID AS AD_Org_I3_260_, invoice0_.IsActive AS IsActive4_260_, invoice0_.Created AS Created5_260_, invoice0_.CreatedBy AS CreatedB6_260_, invoice0_.Updated AS Updated7_260_, invoice0_.UpdatedBy AS UpdatedB8_260_, invoice0_.IsSOTrx AS IsSOTrx9_260_, invoice0_.DocumentNo AS Documen10_260_, invoice0_.DocStatus AS DocStat11_260_, invoice0_.DocAction AS DocActi12_260_, invoice0_.Processing AS Process13_260_, invoice0_.Processed AS Process14_260_, invoice0_.Posted AS Posted15_260_, invoice0_.C_DocType_ID AS C_DocTy16_260_, invoice0_.C_DocTypeTarget_ID AS C_DocTy17_260_, invoice0_.C_Order_ID AS C_Order18_260_, invoice0_.Description AS Descrip19_260_, invoice0_.IsPrinted AS IsPrint20_260_, invoice0_.SalesRep_ID AS SalesRe21_260_, invoice0_.DateInvoiced AS DateInv22_260_, invoice0_.DatePrinted AS DatePri23_260_, invoice0_.DateAcct AS DateAcc24_260_, invoice0_.C_BPartner_ID AS C_BPart25_260_, invoice0_.C_BPartner_Location_ID AS C_BPart26_260_, invoice0_.POReference AS PORefer27_260_, invoice0_.IsDiscountPrinted AS IsDisco28_260_, invoice0_.DateOrdered AS DateOrd29_260_, invoice0_.C_Currency_ID AS C_Curre30_260_, invoice0_.C_PaymentTerm_ID AS C_Payme31_260_, invoice0_.C_Charge_ID AS C_Charg32_260_, invoice0_.ChargeAmt AS ChargeA33_260_, invoice0_.TotalLines AS TotalLi34_260_, invoice0_.GrandTotal AS GrandTo35_260_, invoice0_.M_PriceList_ID AS M_Price36_260_, invoice0_.IsTaxIncluded AS IsTaxIn37_260_, invoice0_.C_Campaign_ID AS C_Campa38_260_, invoice0_.C_Project_ID AS C_Proje39_260_, invoice0_.C_Activity_ID AS C_Activ40_260_, invoice0_.CreateFrom AS CreateF41_260_, invoice0_.GenerateTo AS Generat42_260_, invoice0_.AD_User_ID AS AD_User43_260_, invoice0_.CopyFrom AS CopyFro44_260_, invoice0_.IsSelfService AS IsSelfS45_260_, invoice0_.AD_OrgTrx_ID AS AD_OrgT46_260_, invoice0_.User1_ID AS User47_260_, invoice0_.User2_ID AS User48_260_, invoice0_.Withholdingamount AS Withhol49_260_, invoice0_.Taxdate AS Taxdate50_260_, invoice0_.C_Withholding_ID AS C_Withh51_260_, invoice0_.Ispaid AS Ispaid52_260_, invoice0_.EM_Einv_Generated AS EM_Einv53_260_, invoice0_.Totalpaid AS Totalpa54_260_, invoice0_.EM_Einv_Sent AS EM_Einv55_260_, invoice0_.OutstandingAmt AS Outstan56_260_, invoice0_.DaysTillDue AS DaysTil57_260_, invoice0_.DueAmt AS DueAmt58_260_, invoice0_.LastCalculatedOnDate AS LastCal59_260_, invoice0_.FIN_Paymentmethod_ID AS FIN_Pay60_260_, invoice0_.FIN_Payment_Priority_ID AS FIN_Pay61_260_, invoice0_.Finalsettlement AS Finalse62_260_, invoice0_.Daysoutstanding AS Daysout63_260_, invoice0_.Percentageoverdue AS Percent64_260_, invoice0_.C_Costcenter_ID AS C_Costc65_260_, invoice0_.Calculate_Promotions AS Calcula66_260_, invoice0_.A_Asset_ID AS A_Asset67_260_, invoice0_.EM_APRM_Addpayment AS EM_APRM68_260_, invoice0_.Iscashvat AS Iscashv69_260_, invoice0_.EM_APRM_Processinvoice AS EM_APRM70_260_, invoice0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm71_260_, invoice0_.Prepaymentamt AS Prepaym72_260_, invoice0_.Createfromorders AS Createf73_260_, invoice0_.Createfrominouts AS Createf74_260_, invoice0_.EM_Advcrm_Newactivity AS EM_Advc75_260_, invoice0_.Paidamtatinvoicing AS Paidamt76_260_, invoice0_.EM_Obpos_Rounding_Amount AS EM_Obpo77_260_, invoice0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc78_260_, invoice0_.BPartner_ExtRef AS BPartne79_260_, invoice0_.EM_Aeatsii_Send AS EM_Aeat80_260_, invoice0_.EM_Obpos_Sequencename AS EM_Obpo81_260_, invoice0_.EM_Aeatsii_Issent AS EM_Aeat82_260_, invoice0_.EM_Obpos_Sequencenumber AS EM_Obpo83_260_, invoice0_.EM_Aeatsii_Fecha_Operacion AS EM_Aeat84_260_, invoice0_.EM_Aeatsii_Clave_Tipo AS EM_Aeat85_260_, invoice0_.EM_Aeatsii_Motivo_Rectif AS EM_Aeat86_260_, invoice0_.EM_Prouti_Recalculate_Price AS EM_Prou87_260_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc AS EM_Aeat88_260_, invoice0_.EM_Ml_Select_Product AS EM_Ml_S89_260_, invoice0_.EM_Prouti_Pricecalculatetdate AS EM_Prou90_260_, invoice0_.EM_Aeatsii_Tipo_Rectif AS EM_Aeat91_260_, invoice0_.EM_Prouti_Totalizations AS EM_Prou92_260_, invoice0_.EM_Aeatsii_Dua AS EM_Aeat93_260_, invoice0_.EM_Aeatsii_Fecha_Dua AS EM_Aeat94_260_, invoice0_.EM_Aeatsii_Estado AS EM_Aeat95_260_, invoice0_.EM_Aeatsii_Error_Registral AS EM_Aeat96_260_, invoice0_.EM_Aeatsii_Modif AS EM_Aeat97_260_, invoice0_.EM_Aeatsii_Modified AS EM_Aeat98_260_, invoice0_.EM_Aeatsii_Description_ID AS EM_Aeat99_260_, invoice0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea100_260_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont AS EM_Aea101_260_, invoice0_.EM_Aeatsii_Dup AS EM_Aea102_260_, invoice0_.EM_Aeatsii_Error_Code AS EM_Aea103_260_, invoice0_.EM_Aeatsii_Error_Msg AS EM_Aea104_260_, invoice0_.EM_Aeatsii_Unsubscribe AS EM_Aea105_260_, invoice0_.EM_Aeatsii_Pur_Description_ID AS EM_Aea106_260_, invoice0_.EM_Aeatsii_Multi_Dua AS EM_Aea107_260_, invoice0_.EM_Aeatsii_Ejercicio AS EM_Aea108_260_, invoice0_.EM_Aeatsii_Periodo AS EM_Aea109_260_, invoice0_.EM_Aeatsii_Autofactura AS EM_Aea110_260_, invoice0_.EM_Aeatsii_Invoice_ID AS EM_Aea111_260_, invoice0_.EM_Aeatsii_Insiidate AS EM_Aea112_260_, invoice0_.EM_Aeatsii_Cause_Exemption_ID AS EM_Aea113_260_, invoice0_.EM_Aeatsii_Isauthorization AS EM_Aea114_260_, invoice0_.EM_Aeatsii_Authorizationno AS EM_Aea115_260_, invoice0_.EM_Priuti_Createpurchinv AS EM_Pri116_260_, invoice0_.EM_Priuti_Generated AS EM_Pri117_260_, invoice0_.EM_Priuti_Date_Complete AS EM_Pri118_260_, invoice0_.EM_Prges_Expediente_ID AS EM_Prg119_260_, invoice0_.EM_Priuti_User_Complete_ID AS EM_Pri120_260_, invoice0_.EM_Prges_Annotation_ID AS EM_Prg121_260_, invoice0_.EM_Prges_Record_Number AS EM_Prg122_260_, invoice0_.EM_Priuti_Status_Of_Review AS EM_Pri123_260_, invoice0_.EM_Prges_Grantotal AS EM_Prg124_260_, invoice0_.EM_Priuti_Validate AS EM_Pri125_260_, invoice0_.EM_Priuti_Start_Review AS EM_Pri126_260_, invoice0_.EM_Prges_Poreference AS EM_Prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM C_Invoice invoice0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON invoice0_.C_BPartner_ID = businesspa1_.C_BPartner_ID WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%16058%') ESCAPE '|') AND (upper ((businesspa1_.Value || ' - ' || businesspa1_.Name || ' - ' || COALESCE (to_char (businesspa1_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa1_.Name2), ''))) LIKE upper ('%TUI%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY invoice0_.C_Invoice_ID DESC LIMIT '101';
Date: 2026-07-15 12:18:20 Duration: 14s456ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:17:56 Duration: 12s519ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:17:56 Duration: 11s453ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 2m31s 17 8s581ms 10s568ms 8s932ms SELECT sum (invoice0_.grandtotal) AS col_0_0_, sum (invoice0_.totalpaid) AS col_1_0_, sum (invoice0_.outstandingamt) AS col_2_0_ FROM c_invoice invoice0_ WHERE invoice0_.issotrx = '' AND invoice0_.docstatus <> '' AND (invoice0_.ad_org_id IN (...)) AND (invoice0_.ad_client_id IN (...)) LIMIT '';Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 15 12 17 2m31s 8s932ms [ User: tad - Total duration: 2m31s - Times executed: 17 ]
[ Application: openbravo - Total duration: 2m31s - Times executed: 17 ]
-
SELECT sum (invoice0_.GrandTotal) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_, sum (invoice0_.OutstandingAmt) AS col_2_0_ FROM C_Invoice invoice0_ WHERE invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.GrandTotal) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_, sum (invoice0_.OutstandingAmt) AS col_2_0_ FROM C_Invoice invoice0_ WHERE invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.GrandTotal) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_, sum (invoice0_.OutstandingAmt) AS col_2_0_ FROM C_Invoice invoice0_ WHERE invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
Date: 2026-07-15 12:11:14 Duration: 10s568ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:11:30 Duration: 9s62ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:11:30 Duration: 9s24ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 2m4s 15 7s644ms 10s356ms 8s267ms SELECT sum (invoice0_.outstandingamt) AS col_0_0_, sum (invoice0_.totalpaid) AS col_1_0_ FROM c_invoice invoice0_ WHERE (upper (invoice0_.documentno) LIKE upper ('') ESCAPE '') AND invoice0_.issotrx = '' AND invoice0_.docstatus <> '' AND (invoice0_.ad_org_id IN (...)) AND (invoice0_.ad_client_id IN (...)) LIMIT '';Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 15 09 10 1m20s 8s70ms 10 5 43s304ms 8s660ms [ User: tad - Total duration: 2m4s - Times executed: 15 ]
[ Application: openbravo - Total duration: 2m4s - Times executed: 15 ]
-
SELECT sum (invoice0_.OutstandingAmt) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_ FROM C_Invoice invoice0_ WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1645192%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.OutstandingAmt) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_ FROM C_Invoice invoice0_ WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1645192%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.OutstandingAmt) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_ FROM C_Invoice invoice0_ WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1645039%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
Date: 2026-07-15 10:49:10 Duration: 10s356ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:49:14 Duration: 9s118ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:29:28 Duration: 8s690ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 1m50s 16 5s521ms 12s760ms 6s903ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ INNER JOIN m_warehouse warehouse1_ ON order0_.m_warehouse_id = warehouse1_.m_warehouse_id CROSS JOIN c_doctype documentty2_ WHERE order0_.c_doctypetarget_id = documentty2_.c_doctype_id AND order0_.issotrx = '' AND documentty2_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY warehouse1_.name DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 15 08 3 17s375ms 5s791ms 09 1 12s760ms 12s760ms 10 2 11s158ms 5s579ms 11 1 5s736ms 5s736ms 12 5 29s924ms 5s984ms 13 4 33s498ms 8s374ms [ User: tad - Total duration: 1m50s - Times executed: 16 ]
[ Application: openbravo - Total duration: 1m50s - Times executed: 16 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ INNER JOIN M_Warehouse warehouse1_ ON order0_.M_Warehouse_ID = warehouse1_.M_Warehouse_ID CROSS JOIN C_DocType documentty2_ WHERE order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty2_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 09:49:40.916' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY warehouse1_.Name DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ INNER JOIN M_Warehouse warehouse1_ ON order0_.M_Warehouse_ID = warehouse1_.M_Warehouse_ID CROSS JOIN C_DocType documentty2_ WHERE order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty2_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 13:21:28.804' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY warehouse1_.Name DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ INNER JOIN M_Warehouse warehouse1_ ON order0_.M_Warehouse_ID = warehouse1_.M_Warehouse_ID CROSS JOIN C_DocType documentty2_ WHERE order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty2_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 13:51:17.894' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY warehouse1_.Name DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 09:49:53 Duration: 12s760ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:21:39 Duration: 10s693ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:51:28 Duration: 10s686ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 1m46s 15 5s626ms 13s191ms 7s124ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.documentno DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 15 11 6 43s39ms 7s173ms 12 5 35s36ms 7s7ms 13 1 5s853ms 5s853ms 14 3 22s934ms 7s644ms [ User: tad - Total duration: 1m46s - Times executed: 15 ]
[ Application: openbravo - Total duration: 1m46s - Times executed: 15 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 11:34:34.949' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 12:19:49.591' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 14:52:55.852' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 11:34:48 Duration: 13s191ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:20:01 Duration: 11s426ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 14:53:07 Duration: 11s341ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 1m45s 18 5s316ms 6s972ms 5s867ms SELECT materialmg0_.m_inout_id AS m_inout_1_463_, materialmg0_.ad_client_id AS ad_clien2_463_, materialmg0_.ad_org_id AS ad_org_i3_463_, materialmg0_.isactive AS isactive4_463_, materialmg0_.created AS created5_463_, materialmg0_.createdby AS createdb6_463_, materialmg0_.updated AS updated7_463_, materialmg0_.updatedby AS updatedb8_463_, materialmg0_.issotrx AS issotrx9_463_, materialmg0_.documentno AS documen10_463_, materialmg0_.docaction AS docacti11_463_, materialmg0_.docstatus AS docstat12_463_, materialmg0_.posted AS posted13_463_, materialmg0_.processing AS process14_463_, materialmg0_.processed AS process15_463_, materialmg0_.c_doctype_id AS c_docty16_463_, materialmg0_.description AS descrip17_463_, materialmg0_.c_order_id AS c_order18_463_, materialmg0_.dateordered AS dateord19_463_, materialmg0_.isprinted AS isprint20_463_, materialmg0_.movementtype AS movemen21_463_, materialmg0_.movementdate AS movemen22_463_, materialmg0_.dateacct AS dateacc23_463_, materialmg0_.c_bpartner_id AS c_bpart24_463_, materialmg0_.c_bpartner_location_id AS c_bpart25_463_, materialmg0_.m_warehouse_id AS m_wareh26_463_, materialmg0_.poreference AS porefer27_463_, materialmg0_.deliveryrule AS deliver28_463_, materialmg0_.freightcostrule AS freight29_463_, materialmg0_.freightamt AS freight30_463_, materialmg0_.deliveryviarule AS deliver31_463_, materialmg0_.m_shipper_id AS m_shipp32_463_, materialmg0_.c_charge_id AS c_charg33_463_, materialmg0_.chargeamt AS chargea34_463_, materialmg0_.priorityrule AS priorit35_463_, materialmg0_.dateprinted AS datepri36_463_, materialmg0_.c_invoice_id AS c_invoi37_463_, materialmg0_.createfrom AS createf38_463_, materialmg0_.generateto AS generat39_463_, materialmg0_.ad_user_id AS ad_user40_463_, materialmg0_.salesrep_id AS salesre41_463_, materialmg0_.nopackages AS nopacka42_463_, materialmg0_.pickdate AS pickdat43_463_, materialmg0_.shipdate AS shipdat44_463_, materialmg0_.trackingno AS trackin45_463_, materialmg0_.ad_orgtrx_id AS ad_orgt46_463_, materialmg0_.c_project_id AS c_proje47_463_, materialmg0_.c_campaign_id AS c_campa48_463_, materialmg0_.c_activity_id AS c_activ49_463_, materialmg0_.user1_id AS user50_463_, materialmg0_.user2_id AS user51_463_, materialmg0_.updatelines AS updatel52_463_, materialmg0_.islogistic AS islogis53_463_, materialmg0_.calculate_freight AS calcula54_463_, materialmg0_.delivery_location_id AS deliver55_463_, materialmg0_.m_freightcategory_id AS m_freig56_463_, materialmg0_.freight_currency_id AS freight57_463_, materialmg0_.rm_receipt_pickedit AS rm_rece58_463_, materialmg0_.rm_shipment_pickedit AS rm_ship59_463_, materialmg0_.em_obcma_c_poc_email_id AS em_obcm60_463_, materialmg0_.m_condition_goods_id AS m_condi61_463_, materialmg0_.a_asset_id AS a_asset62_463_, materialmg0_.c_costcenter_id AS c_costc63_463_, materialmg0_.process_goods_java AS process64_463_, materialmg0_.isnettingshipment AS isnetti65_463_, materialmg0_.iscompletelyinvoiced AS iscompl66_463_, materialmg0_.em_obmfm_freight_id AS em_obmf67_463_, materialmg0_.em_sgpcrm_securitygroups_id AS em_sgpc68_463_, materialmg0_.em_obmfm_delivery_charges AS em_obmf69_463_, materialmg0_.invoicefromshipment AS invoice70_463_, materialmg0_.bpartner_extref AS bpartne71_463_, materialmg0_.em_prouti_changebpartner AS em_prou72_463_, materialmg0_.em_prouti_totalqtyreceived AS em_prou73_463_, materialmg0_.em_obmfm_deliverynotes AS em_obmf74_463_, materialmg0_.em_prres_description AS em_prre75_463_, materialmg0_.em_prres_jsoninfo AS em_prre76_463_, materialmg0_.em_prrgr_description AS em_prrg77_463_, materialmg0_.em_prrgr_jsoninfo AS em_prrg78_463_, materialmg0_.em_prouti_initial_bp_id AS em_prou79_463_, materialmg0_.em_prouti_move_stock AS em_prou80_463_, materialmg0_.em_prouti_stock_moved AS em_prou81_463_, materialmg0_.em_prqr_execute AS em_prqr82_463_, materialmg0_.em_prlab_desc AS em_prla83_463_ FROM m_inout materialmg0_ LEFT OUTER JOIN c_bpartner businesspa1_ ON materialmg0_.c_bpartner_id = businesspa1_.c_bpartner_id INNER JOIN c_order order2_ ON materialmg0_.c_order_id = order2_.c_order_id CROSS JOIN c_doctype documentty3_ WHERE materialmg0_.c_doctype_id = documentty3_.c_doctype_id AND upper ((order2_.documentno || '' || COALESCE (to_char (order2_.dateordered), '') || '' || COALESCE (to_char (order2_.grandtotal), ''))) = upper ('') AND (materialmg0_.movementtype IN (...)) AND materialmg0_.islogistic = '' AND documentty3_.isreturn = '' AND (materialmg0_.ad_org_id IN (...)) AND (materialmg0_.ad_client_id IN (...)) ORDER BY businesspa1_.value DESC, businesspa1_.name DESC, businesspa1_.taxid DESC, businesspa1_.name2 DESC, materialmg0_.m_inout_id DESC LIMIT '';Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 15 09 4 21s917ms 5s479ms 10 9 56s2ms 6s222ms 13 5 27s704ms 5s540ms [ User: tad - Total duration: 1m45s - Times executed: 18 ]
[ Application: openbravo - Total duration: 1m45s - Times executed: 18 ]
-
SELECT materialmg0_.M_InOut_ID AS M_InOut_1_463_, materialmg0_.AD_Client_ID AS AD_Clien2_463_, materialmg0_.AD_Org_ID AS AD_Org_I3_463_, materialmg0_.IsActive AS IsActive4_463_, materialmg0_.Created AS Created5_463_, materialmg0_.CreatedBy AS CreatedB6_463_, materialmg0_.Updated AS Updated7_463_, materialmg0_.UpdatedBy AS UpdatedB8_463_, materialmg0_.IsSOTrx AS IsSOTrx9_463_, materialmg0_.DocumentNo AS Documen10_463_, materialmg0_.DocAction AS DocActi11_463_, materialmg0_.DocStatus AS DocStat12_463_, materialmg0_.Posted AS Posted13_463_, materialmg0_.Processing AS Process14_463_, materialmg0_.Processed AS Process15_463_, materialmg0_.C_DocType_ID AS C_DocTy16_463_, materialmg0_.Description AS Descrip17_463_, materialmg0_.C_Order_ID AS C_Order18_463_, materialmg0_.DateOrdered AS DateOrd19_463_, materialmg0_.IsPrinted AS IsPrint20_463_, materialmg0_.MovementType AS Movemen21_463_, materialmg0_.MovementDate AS Movemen22_463_, materialmg0_.DateAcct AS DateAcc23_463_, materialmg0_.C_BPartner_ID AS C_BPart24_463_, materialmg0_.C_BPartner_Location_ID AS C_BPart25_463_, materialmg0_.M_Warehouse_ID AS M_Wareh26_463_, materialmg0_.POReference AS PORefer27_463_, materialmg0_.DeliveryRule AS Deliver28_463_, materialmg0_.FreightCostRule AS Freight29_463_, materialmg0_.FreightAmt AS Freight30_463_, materialmg0_.DeliveryViaRule AS Deliver31_463_, materialmg0_.M_Shipper_ID AS M_Shipp32_463_, materialmg0_.C_Charge_ID AS C_Charg33_463_, materialmg0_.ChargeAmt AS ChargeA34_463_, materialmg0_.PriorityRule AS Priorit35_463_, materialmg0_.DatePrinted AS DatePri36_463_, materialmg0_.C_Invoice_ID AS C_Invoi37_463_, materialmg0_.CreateFrom AS CreateF38_463_, materialmg0_.GenerateTo AS Generat39_463_, materialmg0_.AD_User_ID AS AD_User40_463_, materialmg0_.SalesRep_ID AS SalesRe41_463_, materialmg0_.NoPackages AS NoPacka42_463_, materialmg0_.PickDate AS PickDat43_463_, materialmg0_.ShipDate AS ShipDat44_463_, materialmg0_.TrackingNo AS Trackin45_463_, materialmg0_.AD_OrgTrx_ID AS AD_OrgT46_463_, materialmg0_.C_Project_ID AS C_Proje47_463_, materialmg0_.C_Campaign_ID AS C_Campa48_463_, materialmg0_.C_Activity_ID AS C_Activ49_463_, materialmg0_.User1_ID AS User50_463_, materialmg0_.User2_ID AS User51_463_, materialmg0_.UpdateLines AS UpdateL52_463_, materialmg0_.Islogistic AS Islogis53_463_, materialmg0_.Calculate_Freight AS Calcula54_463_, materialmg0_.Delivery_Location_ID AS Deliver55_463_, materialmg0_.M_FreightCategory_ID AS M_Freig56_463_, materialmg0_.Freight_Currency_ID AS Freight57_463_, materialmg0_.RM_Receipt_PickEdit AS RM_Rece58_463_, materialmg0_.RM_Shipment_Pickedit AS RM_Ship59_463_, materialmg0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm60_463_, materialmg0_.M_Condition_Goods_ID AS M_Condi61_463_, materialmg0_.A_Asset_ID AS A_Asset62_463_, materialmg0_.C_Costcenter_ID AS C_Costc63_463_, materialmg0_.Process_Goods_Java AS Process64_463_, materialmg0_.Isnettingshipment AS Isnetti65_463_, materialmg0_.Iscompletelyinvoiced AS Iscompl66_463_, materialmg0_.EM_OBMFM_Freight_ID AS EM_OBMF67_463_, materialmg0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc68_463_, materialmg0_.EM_OBMFM_Delivery_Charges AS EM_OBMF69_463_, materialmg0_.Invoicefromshipment AS Invoice70_463_, materialmg0_.Bpartner_Extref AS Bpartne71_463_, materialmg0_.EM_Prouti_Changebpartner AS EM_Prou72_463_, materialmg0_.EM_Prouti_Totalqtyreceived AS EM_Prou73_463_, materialmg0_.EM_OBMFM_Deliverynotes AS EM_OBMF74_463_, materialmg0_.EM_Prres_Description AS EM_Prre75_463_, materialmg0_.EM_Prres_Jsoninfo AS EM_Prre76_463_, materialmg0_.EM_Prrgr_Description AS EM_Prrg77_463_, materialmg0_.EM_Prrgr_Jsoninfo AS EM_Prrg78_463_, materialmg0_.EM_Prouti_Initial_Bp_ID AS EM_Prou79_463_, materialmg0_.EM_Prouti_Move_Stock AS EM_Prou80_463_, materialmg0_.EM_Prouti_Stock_Moved AS EM_Prou81_463_, materialmg0_.EM_Prqr_Execute AS EM_Prqr82_463_, materialmg0_.em_prlab_desc AS em_prla83_463_ FROM M_InOut materialmg0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON materialmg0_.C_BPartner_ID = businesspa1_.C_BPartner_ID INNER JOIN C_Order order2_ ON materialmg0_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg0_.C_DocType_ID = documentty3_.C_DocType_ID AND upper ((order2_.DocumentNo || ' - ' || COALESCE (to_char (order2_.DateOrdered), '') || ' - ' || COALESCE (to_char (order2_.GrandTotal), ''))) = upper ('PC26/14868 - 22-06-2026 - -86.02') AND (materialmg0_.MovementType IN ('V-', 'V+')) AND materialmg0_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND (materialmg0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY businesspa1_.Value DESC, businesspa1_.Name DESC, businesspa1_.TaxID DESC, businesspa1_.Name2 DESC, materialmg0_.M_InOut_ID DESC LIMIT '101';
-
SELECT materialmg0_.M_InOut_ID AS M_InOut_1_463_, materialmg0_.AD_Client_ID AS AD_Clien2_463_, materialmg0_.AD_Org_ID AS AD_Org_I3_463_, materialmg0_.IsActive AS IsActive4_463_, materialmg0_.Created AS Created5_463_, materialmg0_.CreatedBy AS CreatedB6_463_, materialmg0_.Updated AS Updated7_463_, materialmg0_.UpdatedBy AS UpdatedB8_463_, materialmg0_.IsSOTrx AS IsSOTrx9_463_, materialmg0_.DocumentNo AS Documen10_463_, materialmg0_.DocAction AS DocActi11_463_, materialmg0_.DocStatus AS DocStat12_463_, materialmg0_.Posted AS Posted13_463_, materialmg0_.Processing AS Process14_463_, materialmg0_.Processed AS Process15_463_, materialmg0_.C_DocType_ID AS C_DocTy16_463_, materialmg0_.Description AS Descrip17_463_, materialmg0_.C_Order_ID AS C_Order18_463_, materialmg0_.DateOrdered AS DateOrd19_463_, materialmg0_.IsPrinted AS IsPrint20_463_, materialmg0_.MovementType AS Movemen21_463_, materialmg0_.MovementDate AS Movemen22_463_, materialmg0_.DateAcct AS DateAcc23_463_, materialmg0_.C_BPartner_ID AS C_BPart24_463_, materialmg0_.C_BPartner_Location_ID AS C_BPart25_463_, materialmg0_.M_Warehouse_ID AS M_Wareh26_463_, materialmg0_.POReference AS PORefer27_463_, materialmg0_.DeliveryRule AS Deliver28_463_, materialmg0_.FreightCostRule AS Freight29_463_, materialmg0_.FreightAmt AS Freight30_463_, materialmg0_.DeliveryViaRule AS Deliver31_463_, materialmg0_.M_Shipper_ID AS M_Shipp32_463_, materialmg0_.C_Charge_ID AS C_Charg33_463_, materialmg0_.ChargeAmt AS ChargeA34_463_, materialmg0_.PriorityRule AS Priorit35_463_, materialmg0_.DatePrinted AS DatePri36_463_, materialmg0_.C_Invoice_ID AS C_Invoi37_463_, materialmg0_.CreateFrom AS CreateF38_463_, materialmg0_.GenerateTo AS Generat39_463_, materialmg0_.AD_User_ID AS AD_User40_463_, materialmg0_.SalesRep_ID AS SalesRe41_463_, materialmg0_.NoPackages AS NoPacka42_463_, materialmg0_.PickDate AS PickDat43_463_, materialmg0_.ShipDate AS ShipDat44_463_, materialmg0_.TrackingNo AS Trackin45_463_, materialmg0_.AD_OrgTrx_ID AS AD_OrgT46_463_, materialmg0_.C_Project_ID AS C_Proje47_463_, materialmg0_.C_Campaign_ID AS C_Campa48_463_, materialmg0_.C_Activity_ID AS C_Activ49_463_, materialmg0_.User1_ID AS User50_463_, materialmg0_.User2_ID AS User51_463_, materialmg0_.UpdateLines AS UpdateL52_463_, materialmg0_.Islogistic AS Islogis53_463_, materialmg0_.Calculate_Freight AS Calcula54_463_, materialmg0_.Delivery_Location_ID AS Deliver55_463_, materialmg0_.M_FreightCategory_ID AS M_Freig56_463_, materialmg0_.Freight_Currency_ID AS Freight57_463_, materialmg0_.RM_Receipt_PickEdit AS RM_Rece58_463_, materialmg0_.RM_Shipment_Pickedit AS RM_Ship59_463_, materialmg0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm60_463_, materialmg0_.M_Condition_Goods_ID AS M_Condi61_463_, materialmg0_.A_Asset_ID AS A_Asset62_463_, materialmg0_.C_Costcenter_ID AS C_Costc63_463_, materialmg0_.Process_Goods_Java AS Process64_463_, materialmg0_.Isnettingshipment AS Isnetti65_463_, materialmg0_.Iscompletelyinvoiced AS Iscompl66_463_, materialmg0_.EM_OBMFM_Freight_ID AS EM_OBMF67_463_, materialmg0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc68_463_, materialmg0_.EM_OBMFM_Delivery_Charges AS EM_OBMF69_463_, materialmg0_.Invoicefromshipment AS Invoice70_463_, materialmg0_.Bpartner_Extref AS Bpartne71_463_, materialmg0_.EM_Prouti_Changebpartner AS EM_Prou72_463_, materialmg0_.EM_Prouti_Totalqtyreceived AS EM_Prou73_463_, materialmg0_.EM_OBMFM_Deliverynotes AS EM_OBMF74_463_, materialmg0_.EM_Prres_Description AS EM_Prre75_463_, materialmg0_.EM_Prres_Jsoninfo AS EM_Prre76_463_, materialmg0_.EM_Prrgr_Description AS EM_Prrg77_463_, materialmg0_.EM_Prrgr_Jsoninfo AS EM_Prrg78_463_, materialmg0_.EM_Prouti_Initial_Bp_ID AS EM_Prou79_463_, materialmg0_.EM_Prouti_Move_Stock AS EM_Prou80_463_, materialmg0_.EM_Prouti_Stock_Moved AS EM_Prou81_463_, materialmg0_.EM_Prqr_Execute AS EM_Prqr82_463_, materialmg0_.em_prlab_desc AS em_prla83_463_ FROM M_InOut materialmg0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON materialmg0_.C_BPartner_ID = businesspa1_.C_BPartner_ID INNER JOIN C_Order order2_ ON materialmg0_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg0_.C_DocType_ID = documentty3_.C_DocType_ID AND upper ((order2_.DocumentNo || ' - ' || COALESCE (to_char (order2_.DateOrdered), '') || ' - ' || COALESCE (to_char (order2_.GrandTotal), ''))) = upper ('PC26/14868 - 22-06-2026 - -86.02') AND (materialmg0_.MovementType IN ('V-', 'V+')) AND materialmg0_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND (materialmg0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY businesspa1_.Value DESC, businesspa1_.Name DESC, businesspa1_.TaxID DESC, businesspa1_.Name2 DESC, materialmg0_.M_InOut_ID DESC LIMIT '101';
-
SELECT materialmg0_.M_InOut_ID AS M_InOut_1_463_, materialmg0_.AD_Client_ID AS AD_Clien2_463_, materialmg0_.AD_Org_ID AS AD_Org_I3_463_, materialmg0_.IsActive AS IsActive4_463_, materialmg0_.Created AS Created5_463_, materialmg0_.CreatedBy AS CreatedB6_463_, materialmg0_.Updated AS Updated7_463_, materialmg0_.UpdatedBy AS UpdatedB8_463_, materialmg0_.IsSOTrx AS IsSOTrx9_463_, materialmg0_.DocumentNo AS Documen10_463_, materialmg0_.DocAction AS DocActi11_463_, materialmg0_.DocStatus AS DocStat12_463_, materialmg0_.Posted AS Posted13_463_, materialmg0_.Processing AS Process14_463_, materialmg0_.Processed AS Process15_463_, materialmg0_.C_DocType_ID AS C_DocTy16_463_, materialmg0_.Description AS Descrip17_463_, materialmg0_.C_Order_ID AS C_Order18_463_, materialmg0_.DateOrdered AS DateOrd19_463_, materialmg0_.IsPrinted AS IsPrint20_463_, materialmg0_.MovementType AS Movemen21_463_, materialmg0_.MovementDate AS Movemen22_463_, materialmg0_.DateAcct AS DateAcc23_463_, materialmg0_.C_BPartner_ID AS C_BPart24_463_, materialmg0_.C_BPartner_Location_ID AS C_BPart25_463_, materialmg0_.M_Warehouse_ID AS M_Wareh26_463_, materialmg0_.POReference AS PORefer27_463_, materialmg0_.DeliveryRule AS Deliver28_463_, materialmg0_.FreightCostRule AS Freight29_463_, materialmg0_.FreightAmt AS Freight30_463_, materialmg0_.DeliveryViaRule AS Deliver31_463_, materialmg0_.M_Shipper_ID AS M_Shipp32_463_, materialmg0_.C_Charge_ID AS C_Charg33_463_, materialmg0_.ChargeAmt AS ChargeA34_463_, materialmg0_.PriorityRule AS Priorit35_463_, materialmg0_.DatePrinted AS DatePri36_463_, materialmg0_.C_Invoice_ID AS C_Invoi37_463_, materialmg0_.CreateFrom AS CreateF38_463_, materialmg0_.GenerateTo AS Generat39_463_, materialmg0_.AD_User_ID AS AD_User40_463_, materialmg0_.SalesRep_ID AS SalesRe41_463_, materialmg0_.NoPackages AS NoPacka42_463_, materialmg0_.PickDate AS PickDat43_463_, materialmg0_.ShipDate AS ShipDat44_463_, materialmg0_.TrackingNo AS Trackin45_463_, materialmg0_.AD_OrgTrx_ID AS AD_OrgT46_463_, materialmg0_.C_Project_ID AS C_Proje47_463_, materialmg0_.C_Campaign_ID AS C_Campa48_463_, materialmg0_.C_Activity_ID AS C_Activ49_463_, materialmg0_.User1_ID AS User50_463_, materialmg0_.User2_ID AS User51_463_, materialmg0_.UpdateLines AS UpdateL52_463_, materialmg0_.Islogistic AS Islogis53_463_, materialmg0_.Calculate_Freight AS Calcula54_463_, materialmg0_.Delivery_Location_ID AS Deliver55_463_, materialmg0_.M_FreightCategory_ID AS M_Freig56_463_, materialmg0_.Freight_Currency_ID AS Freight57_463_, materialmg0_.RM_Receipt_PickEdit AS RM_Rece58_463_, materialmg0_.RM_Shipment_Pickedit AS RM_Ship59_463_, materialmg0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm60_463_, materialmg0_.M_Condition_Goods_ID AS M_Condi61_463_, materialmg0_.A_Asset_ID AS A_Asset62_463_, materialmg0_.C_Costcenter_ID AS C_Costc63_463_, materialmg0_.Process_Goods_Java AS Process64_463_, materialmg0_.Isnettingshipment AS Isnetti65_463_, materialmg0_.Iscompletelyinvoiced AS Iscompl66_463_, materialmg0_.EM_OBMFM_Freight_ID AS EM_OBMF67_463_, materialmg0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc68_463_, materialmg0_.EM_OBMFM_Delivery_Charges AS EM_OBMF69_463_, materialmg0_.Invoicefromshipment AS Invoice70_463_, materialmg0_.Bpartner_Extref AS Bpartne71_463_, materialmg0_.EM_Prouti_Changebpartner AS EM_Prou72_463_, materialmg0_.EM_Prouti_Totalqtyreceived AS EM_Prou73_463_, materialmg0_.EM_OBMFM_Deliverynotes AS EM_OBMF74_463_, materialmg0_.EM_Prres_Description AS EM_Prre75_463_, materialmg0_.EM_Prres_Jsoninfo AS EM_Prre76_463_, materialmg0_.EM_Prrgr_Description AS EM_Prrg77_463_, materialmg0_.EM_Prrgr_Jsoninfo AS EM_Prrg78_463_, materialmg0_.EM_Prouti_Initial_Bp_ID AS EM_Prou79_463_, materialmg0_.EM_Prouti_Move_Stock AS EM_Prou80_463_, materialmg0_.EM_Prouti_Stock_Moved AS EM_Prou81_463_, materialmg0_.EM_Prqr_Execute AS EM_Prqr82_463_, materialmg0_.em_prlab_desc AS em_prla83_463_ FROM M_InOut materialmg0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON materialmg0_.C_BPartner_ID = businesspa1_.C_BPartner_ID INNER JOIN C_Order order2_ ON materialmg0_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg0_.C_DocType_ID = documentty3_.C_DocType_ID AND upper ((order2_.DocumentNo || ' - ' || COALESCE (to_char (order2_.DateOrdered), '') || ' - ' || COALESCE (to_char (order2_.GrandTotal), ''))) = upper ('PC26/14868 - 22-06-2026 - -86.02') AND (materialmg0_.MovementType IN ('V-', 'V+')) AND materialmg0_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND (materialmg0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY businesspa1_.Value DESC, businesspa1_.Name DESC, businesspa1_.TaxID DESC, businesspa1_.Name2 DESC, materialmg0_.M_InOut_ID DESC LIMIT '101';
Date: 2026-07-15 10:11:29 Duration: 6s972ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:01:28 Duration: 6s971ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:29:54 Duration: 6s494ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 1m45s 5 20s646ms 21s547ms 21s11ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (documentty1_.docsubtypeso NOT LIKE '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.grandtotal DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 15 09 1 20s823ms 20s823ms 13 4 1m24s 21s57ms [ User: tad - Total duration: 1m45s - Times executed: 5 ]
[ Application: openbravo - Total duration: 1m45s - Times executed: 5 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'N' AND (documentty1_.DocSubTypeSO NOT LIKE 'OB') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.GrandTotal DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'N' AND (documentty1_.DocSubTypeSO NOT LIKE 'OB') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.GrandTotal DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'N' AND (documentty1_.DocSubTypeSO NOT LIKE 'OB') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.GrandTotal DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 13:31:01 Duration: 21s547ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:31:45 Duration: 21s140ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:32:15 Duration: 20s897ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 1m43s 12 5s465ms 32s887ms 8s600ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.documentno, order0_.c_order_id LIMIT '';Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 15 07 1 6s30ms 6s30ms 08 1 32s887ms 32s887ms 09 4 23s537ms 5s884ms 10 2 15s942ms 7s971ms 11 2 11s799ms 5s899ms 12 1 7s64ms 7s64ms 14 1 5s945ms 5s945ms [ User: tad - Total duration: 1m43s - Times executed: 12 ]
[ Application: openbravo - Total duration: 1m43s - Times executed: 12 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 08:39:46.994' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo, order0_.C_Order_ID LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 10:20:17.284' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo, order0_.C_Order_ID LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 12:44:58.082' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo, order0_.C_Order_ID LIMIT '101';
Date: 2026-07-15 08:40:19 Duration: 32s887ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:20:27 Duration: 10s170ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:45:05 Duration: 7s64ms Database: openbravo 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 90 29m37s 16s721ms 1m4s 19s751ms SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, '' || documentno AS description, '' AS isactive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdby, now () AS updated, 0 AS updatedby FROM c_order WHERE (em_prouti_received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> '' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 0, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> '' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 0, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = '' AND docstatus <> '') aaa WHERE NOT EXISTS ( SELECT 0 FROM ad_alert a WHERE a.ad_alertrule_id = '' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, '') != '');Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 15 07 6 1m51s 18s614ms 08 6 3m10s 31s784ms 09 6 2m4s 20s786ms 10 6 2m13s 22s218ms 11 6 2m9s 21s569ms 12 6 2m14s 22s420ms 13 6 2m8s 21s348ms 14 6 1m46s 17s753ms 15 6 1m45s 17s610ms 16 6 1m42s 17s14ms 17 6 1m44s 17s385ms 18 6 1m41s 16s993ms 19 6 1m42s 17s32ms 20 6 1m41s 16s873ms 21 6 1m41s 16s870ms [ User: tad - Total duration: 29m37s - Times executed: 90 ]
[ Application: openbravo - Total duration: 29m37s - Times executed: 90 ]
-
SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('c_order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Campos de compras incorrectos en pedido ' || documentno AS description, 'Y' AS isActive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE (em_prouti_Received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 2) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_Invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = 'N' AND docstatus <> 'DR') AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = 'EA47197112604106A3E78741F595F654' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('c_order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Campos de compras incorrectos en pedido ' || documentno AS description, 'Y' AS isActive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE (em_prouti_Received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 2) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_Invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = 'N' AND docstatus <> 'DR') AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = 'EA47197112604106A3E78741F595F654' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('c_order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Campos de compras incorrectos en pedido ' || documentno AS description, 'Y' AS isActive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE (em_prouti_Received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 2) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_Invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = 'N' AND docstatus <> 'DR') AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = 'EA47197112604106A3E78741F595F654' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 08:10:21 Duration: 1m4s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:19:48 Duration: 29s997ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:29:49 Duration: 29s992ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 81 12m9s 7s756ms 13s246ms 9s10ms SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, '' || fa.name || '' || fa.currentbalance || '' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) || '' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) AS description, '' AS isactive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdby, now () AS updated, 0 AS updatedby FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) aaa WHERE NOT EXISTS ( SELECT 0 FROM ad_alert a WHERE a.ad_alertrule_id = '' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, '') != '');Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 15 07 6 47s525ms 7s920ms 08 5 54s85ms 10s817ms 09 3 29s666ms 9s888ms 10 5 59s238ms 11s847ms 11 4 40s316ms 10s79ms 12 6 1m10s 11s701ms 13 5 52s735ms 10s547ms 14 5 41s128ms 8s225ms 15 6 48s717ms 8s119ms 16 6 47s823ms 7s970ms 17 6 48s280ms 8s46ms 18 6 47s902ms 7s983ms 19 6 47s701ms 7s950ms 20 6 47s147ms 7s857ms 21 6 47s336ms 7s889ms [ User: tad - Total duration: 12m9s - Times executed: 81 ]
[ Application: openbravo - Total duration: 12m9s - Times executed: 81 ]
-
SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = '20047DCF451F49F095E5D09B810A6AEA' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = '20047DCF451F49F095E5D09B810A6AEA' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = '20047DCF451F49F095E5D09B810A6AEA' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 10:59:20 Duration: 13s246ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:29:18 Duration: 13s116ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:49:19 Duration: 12s595ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 75 29m14s 6s529ms 2m2s 23s395ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ WHERE (upper ((order0_.documentno || '' || COALESCE (to_char (order0_.dateordered), '') || '' || COALESCE (to_char (order0_.grandtotal), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM m_inout materialmg1_ INNER JOIN c_order order2_ ON materialmg1_.c_order_id = order2_.c_order_id CROSS JOIN c_doctype documentty3_ WHERE materialmg1_.c_doctype_id = documentty3_.c_doctype_id AND (materialmg1_.movementtype IN (...)) AND materialmg1_.islogistic = '' AND documentty3_.isreturn = '' AND order2_.c_order_id = order0_.c_order_id AND (materialmg1_.ad_org_id IN (...)) AND (materialmg1_.ad_client_id IN (...)))) ORDER BY order0_.documentno, order0_.dateordered, order0_.grandtotal LIMIT '';Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 15 09 23 14m30s 37s835ms 10 16 10m38s 39s881ms 13 36 4m6s 6s841ms [ User: tad - Total duration: 29m14s - Times executed: 75 ]
[ Application: openbravo - Total duration: 29m14s - Times executed: 75 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%0%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%0%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%04%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
Date: 2026-07-15 10:42:05 Duration: 2m2s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:14:48 Duration: 2m1s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:41:19 Duration: 1m16s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 34 3m29s 5s791ms 6s964ms 6s149ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.datepromised DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 15 08 6 36s305ms 6s50ms 09 6 36s834ms 6s139ms 10 6 36s130ms 6s21ms 11 3 19s478ms 6s492ms 12 10 1m 6s81ms 13 3 19s528ms 6s509ms [ User: tad - Total duration: 3m29s - Times executed: 34 ]
[ Application: openbravo - Total duration: 3m29s - Times executed: 34 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 11:39:27 Duration: 6s964ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:01:23 Duration: 6s882ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:00:10 Duration: 6s513ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 32 4m5s 5s572ms 29s860ms 7s662ms SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE (upper ((businesspa0_.value || '' || businesspa0_.name || '' || COALESCE (to_char (businesspa0_.taxid), '') || '' || COALESCE (to_char (businesspa0_.name2), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM c_order order1_ INNER JOIN c_bpartner businesspa2_ ON order1_.c_bpartner_id = businesspa2_.c_bpartner_id CROSS JOIN c_doctype documentty3_ WHERE order1_.c_doctypetarget_id = documentty3_.c_doctype_id AND order1_.issotrx = '' AND documentty3_.isreturn = '' AND businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id AND (order1_.ad_org_id IN (...)) AND (order1_.ad_client_id IN (...)))) ORDER BY businesspa0_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 15 07 1 5s908ms 5s908ms 08 10 1m48s 10s835ms 09 3 17s84ms 5s694ms 10 3 19s286ms 6s428ms 11 7 45s803ms 6s543ms 12 5 30s451ms 6s90ms 13 3 18s324ms 6s108ms [ User: tad - Total duration: 4m5s - Times executed: 32 ]
[ Application: openbravo - Total duration: 4m5s - Times executed: 32 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%A%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN C_BPartner businesspa2_ ON order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID CROSS JOIN C_DocType documentty3_ WHERE order1_.C_DocTypeTarget_ID = documentty3_.C_DocType_ID AND order1_.IsSOTrx = 'N' AND documentty3_.IsReturn = 'N' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%AL%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN C_BPartner businesspa2_ ON order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID CROSS JOIN C_DocType documentty3_ WHERE order1_.C_DocTypeTarget_ID = documentty3_.C_DocType_ID AND order1_.IsSOTrx = 'N' AND documentty3_.IsReturn = 'N' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%d%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN C_BPartner businesspa2_ ON order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID CROSS JOIN C_DocType documentty3_ WHERE order1_.C_DocTypeTarget_ID = documentty3_.C_DocType_ID AND order1_.IsSOTrx = 'N' AND documentty3_.IsReturn = 'N' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 08:40:19 Duration: 29s860ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:40:19 Duration: 29s612ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 11:44:54 Duration: 7s823ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 28 3m7s 5s607ms 11s289ms 6s710ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.dateordered DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 15 07 5 32s453ms 6s490ms 08 3 17s920ms 5s973ms 09 1 7s71ms 7s71ms 10 7 52s601ms 7s514ms 11 7 42s129ms 6s18ms 12 5 35s714ms 7s142ms [ User: tad - Total duration: 3m7s - Times executed: 28 ]
[ Application: openbravo - Total duration: 3m7s - Times executed: 28 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'Y' AND (order0_.Updated > '2026-07-14 10:17:36.879' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DateOrdered DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 10:00:34.262' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DateOrdered DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'Y' AND (order0_.Updated > '2026-07-14 12:18:23.301' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DateOrdered DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 10:17:48 Duration: 11s289ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:00:44 Duration: 10s553ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:18:33 Duration: 9s954ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 27 19m49s 42s601ms 46s281ms 44s45ms SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE EXISTS ( SELECT 0 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_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 15 07 1 42s857ms 42s857ms 08 7 5m5s 43s690ms 09 2 1m25s 42s683ms 10 2 1m30s 45s104ms 11 5 3m39s 43s829ms 12 8 5m55s 44s391ms 13 2 1m30s 45s336ms [ User: tad - Total duration: 19m49s - Times executed: 27 ]
[ Application: openbravo - Total duration: 19m49s - Times executed: 27 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%SUCES%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%tara%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%ALAN%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 13:30:50 Duration: 46s281ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:16:32 Duration: 45s732ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:45:56 Duration: 45s483ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 24 3m8s 5s841ms 14s5ms 7s866ms SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE (upper ((businesspa0_.value || '' || businesspa0_.name || '' || COALESCE (to_char (businesspa0_.taxid), '') || '' || COALESCE (to_char (businesspa0_.name2), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM c_invoice invoice1_ INNER JOIN c_bpartner businesspa2_ ON invoice1_.c_bpartner_id = businesspa2_.c_bpartner_id WHERE invoice1_.issotrx = '' AND invoice1_.docstatus <> '' AND businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id AND (invoice1_.ad_org_id IN (...)) AND (invoice1_.ad_client_id IN (...)))) ORDER BY businesspa0_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 15 08 7 56s892ms 8s127ms 09 2 15s624ms 7s812ms 10 6 49s168ms 8s194ms 11 4 25s41ms 6s260ms 12 2 23s328ms 11s664ms 13 3 18s750ms 6s250ms [ User: tad - Total duration: 3m8s - Times executed: 24 ]
[ Application: openbravo - Total duration: 3m8s - Times executed: 24 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%ME%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE invoice1_.IsSOTrx = 'Y' AND invoice1_.DocStatus <> 'TEMP' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%co%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE invoice1_.IsSOTrx = 'N' AND invoice1_.DocStatus <> 'TEMP' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%ar%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE invoice1_.IsSOTrx = 'N' AND invoice1_.DocStatus <> 'TEMP' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 12:42:40 Duration: 14s5ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:15:23 Duration: 11s670ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:31:19 Duration: 11s473ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 22 16m3s 42s647ms 45s225ms 43s795ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ WHERE EXISTS ( SELECT 0 FROM m_inout materialmg1_ LEFT OUTER JOIN c_bpartner businesspa2_ ON materialmg1_.c_bpartner_id = businesspa2_.c_bpartner_id INNER JOIN c_order order3_ ON materialmg1_.c_order_id = order3_.c_order_id WHERE (upper ((materialmg1_.documentno || '' || COALESCE (to_char (materialmg1_.movementdate), '') || '' || (businesspa2_.value || '' || businesspa2_.name || '' || COALESCE (to_char (businesspa2_.taxid), '') || '' || COALESCE (to_char (businesspa2_.name2), '')))) LIKE upper ('') ESCAPE '') AND order3_.c_order_id = order0_.c_order_id AND (materialmg1_.ad_org_id IN (...)) AND (materialmg1_.ad_client_id IN (...))) ORDER BY order0_.documentno, order0_.dateordered, order0_.grandtotal LIMIT '';Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 15 08 1 44s282ms 44s282ms 09 5 3m38s 43s742ms 10 3 2m10s 43s370ms 11 1 43s867ms 43s867ms 12 2 1m29s 44s589ms 13 10 7m17s 43s733ms [ User: tad - Total duration: 16m3s - Times executed: 22 ]
[ Application: openbravo - Total duration: 16m3s - Times executed: 22 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%16429%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%091-0058504%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%14868%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
Date: 2026-07-15 12:43:23 Duration: 45s225ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:23:29 Duration: 45s111ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:40:41 Duration: 44s282ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 18 1m45s 5s316ms 6s972ms 5s867ms SELECT materialmg0_.m_inout_id AS m_inout_1_463_, materialmg0_.ad_client_id AS ad_clien2_463_, materialmg0_.ad_org_id AS ad_org_i3_463_, materialmg0_.isactive AS isactive4_463_, materialmg0_.created AS created5_463_, materialmg0_.createdby AS createdb6_463_, materialmg0_.updated AS updated7_463_, materialmg0_.updatedby AS updatedb8_463_, materialmg0_.issotrx AS issotrx9_463_, materialmg0_.documentno AS documen10_463_, materialmg0_.docaction AS docacti11_463_, materialmg0_.docstatus AS docstat12_463_, materialmg0_.posted AS posted13_463_, materialmg0_.processing AS process14_463_, materialmg0_.processed AS process15_463_, materialmg0_.c_doctype_id AS c_docty16_463_, materialmg0_.description AS descrip17_463_, materialmg0_.c_order_id AS c_order18_463_, materialmg0_.dateordered AS dateord19_463_, materialmg0_.isprinted AS isprint20_463_, materialmg0_.movementtype AS movemen21_463_, materialmg0_.movementdate AS movemen22_463_, materialmg0_.dateacct AS dateacc23_463_, materialmg0_.c_bpartner_id AS c_bpart24_463_, materialmg0_.c_bpartner_location_id AS c_bpart25_463_, materialmg0_.m_warehouse_id AS m_wareh26_463_, materialmg0_.poreference AS porefer27_463_, materialmg0_.deliveryrule AS deliver28_463_, materialmg0_.freightcostrule AS freight29_463_, materialmg0_.freightamt AS freight30_463_, materialmg0_.deliveryviarule AS deliver31_463_, materialmg0_.m_shipper_id AS m_shipp32_463_, materialmg0_.c_charge_id AS c_charg33_463_, materialmg0_.chargeamt AS chargea34_463_, materialmg0_.priorityrule AS priorit35_463_, materialmg0_.dateprinted AS datepri36_463_, materialmg0_.c_invoice_id AS c_invoi37_463_, materialmg0_.createfrom AS createf38_463_, materialmg0_.generateto AS generat39_463_, materialmg0_.ad_user_id AS ad_user40_463_, materialmg0_.salesrep_id AS salesre41_463_, materialmg0_.nopackages AS nopacka42_463_, materialmg0_.pickdate AS pickdat43_463_, materialmg0_.shipdate AS shipdat44_463_, materialmg0_.trackingno AS trackin45_463_, materialmg0_.ad_orgtrx_id AS ad_orgt46_463_, materialmg0_.c_project_id AS c_proje47_463_, materialmg0_.c_campaign_id AS c_campa48_463_, materialmg0_.c_activity_id AS c_activ49_463_, materialmg0_.user1_id AS user50_463_, materialmg0_.user2_id AS user51_463_, materialmg0_.updatelines AS updatel52_463_, materialmg0_.islogistic AS islogis53_463_, materialmg0_.calculate_freight AS calcula54_463_, materialmg0_.delivery_location_id AS deliver55_463_, materialmg0_.m_freightcategory_id AS m_freig56_463_, materialmg0_.freight_currency_id AS freight57_463_, materialmg0_.rm_receipt_pickedit AS rm_rece58_463_, materialmg0_.rm_shipment_pickedit AS rm_ship59_463_, materialmg0_.em_obcma_c_poc_email_id AS em_obcm60_463_, materialmg0_.m_condition_goods_id AS m_condi61_463_, materialmg0_.a_asset_id AS a_asset62_463_, materialmg0_.c_costcenter_id AS c_costc63_463_, materialmg0_.process_goods_java AS process64_463_, materialmg0_.isnettingshipment AS isnetti65_463_, materialmg0_.iscompletelyinvoiced AS iscompl66_463_, materialmg0_.em_obmfm_freight_id AS em_obmf67_463_, materialmg0_.em_sgpcrm_securitygroups_id AS em_sgpc68_463_, materialmg0_.em_obmfm_delivery_charges AS em_obmf69_463_, materialmg0_.invoicefromshipment AS invoice70_463_, materialmg0_.bpartner_extref AS bpartne71_463_, materialmg0_.em_prouti_changebpartner AS em_prou72_463_, materialmg0_.em_prouti_totalqtyreceived AS em_prou73_463_, materialmg0_.em_obmfm_deliverynotes AS em_obmf74_463_, materialmg0_.em_prres_description AS em_prre75_463_, materialmg0_.em_prres_jsoninfo AS em_prre76_463_, materialmg0_.em_prrgr_description AS em_prrg77_463_, materialmg0_.em_prrgr_jsoninfo AS em_prrg78_463_, materialmg0_.em_prouti_initial_bp_id AS em_prou79_463_, materialmg0_.em_prouti_move_stock AS em_prou80_463_, materialmg0_.em_prouti_stock_moved AS em_prou81_463_, materialmg0_.em_prqr_execute AS em_prqr82_463_, materialmg0_.em_prlab_desc AS em_prla83_463_ FROM m_inout materialmg0_ LEFT OUTER JOIN c_bpartner businesspa1_ ON materialmg0_.c_bpartner_id = businesspa1_.c_bpartner_id INNER JOIN c_order order2_ ON materialmg0_.c_order_id = order2_.c_order_id CROSS JOIN c_doctype documentty3_ WHERE materialmg0_.c_doctype_id = documentty3_.c_doctype_id AND upper ((order2_.documentno || '' || COALESCE (to_char (order2_.dateordered), '') || '' || COALESCE (to_char (order2_.grandtotal), ''))) = upper ('') AND (materialmg0_.movementtype IN (...)) AND materialmg0_.islogistic = '' AND documentty3_.isreturn = '' AND (materialmg0_.ad_org_id IN (...)) AND (materialmg0_.ad_client_id IN (...)) ORDER BY businesspa1_.value DESC, businesspa1_.name DESC, businesspa1_.taxid DESC, businesspa1_.name2 DESC, materialmg0_.m_inout_id DESC LIMIT '';Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 15 09 4 21s917ms 5s479ms 10 9 56s2ms 6s222ms 13 5 27s704ms 5s540ms [ User: tad - Total duration: 1m45s - Times executed: 18 ]
[ Application: openbravo - Total duration: 1m45s - Times executed: 18 ]
-
SELECT materialmg0_.M_InOut_ID AS M_InOut_1_463_, materialmg0_.AD_Client_ID AS AD_Clien2_463_, materialmg0_.AD_Org_ID AS AD_Org_I3_463_, materialmg0_.IsActive AS IsActive4_463_, materialmg0_.Created AS Created5_463_, materialmg0_.CreatedBy AS CreatedB6_463_, materialmg0_.Updated AS Updated7_463_, materialmg0_.UpdatedBy AS UpdatedB8_463_, materialmg0_.IsSOTrx AS IsSOTrx9_463_, materialmg0_.DocumentNo AS Documen10_463_, materialmg0_.DocAction AS DocActi11_463_, materialmg0_.DocStatus AS DocStat12_463_, materialmg0_.Posted AS Posted13_463_, materialmg0_.Processing AS Process14_463_, materialmg0_.Processed AS Process15_463_, materialmg0_.C_DocType_ID AS C_DocTy16_463_, materialmg0_.Description AS Descrip17_463_, materialmg0_.C_Order_ID AS C_Order18_463_, materialmg0_.DateOrdered AS DateOrd19_463_, materialmg0_.IsPrinted AS IsPrint20_463_, materialmg0_.MovementType AS Movemen21_463_, materialmg0_.MovementDate AS Movemen22_463_, materialmg0_.DateAcct AS DateAcc23_463_, materialmg0_.C_BPartner_ID AS C_BPart24_463_, materialmg0_.C_BPartner_Location_ID AS C_BPart25_463_, materialmg0_.M_Warehouse_ID AS M_Wareh26_463_, materialmg0_.POReference AS PORefer27_463_, materialmg0_.DeliveryRule AS Deliver28_463_, materialmg0_.FreightCostRule AS Freight29_463_, materialmg0_.FreightAmt AS Freight30_463_, materialmg0_.DeliveryViaRule AS Deliver31_463_, materialmg0_.M_Shipper_ID AS M_Shipp32_463_, materialmg0_.C_Charge_ID AS C_Charg33_463_, materialmg0_.ChargeAmt AS ChargeA34_463_, materialmg0_.PriorityRule AS Priorit35_463_, materialmg0_.DatePrinted AS DatePri36_463_, materialmg0_.C_Invoice_ID AS C_Invoi37_463_, materialmg0_.CreateFrom AS CreateF38_463_, materialmg0_.GenerateTo AS Generat39_463_, materialmg0_.AD_User_ID AS AD_User40_463_, materialmg0_.SalesRep_ID AS SalesRe41_463_, materialmg0_.NoPackages AS NoPacka42_463_, materialmg0_.PickDate AS PickDat43_463_, materialmg0_.ShipDate AS ShipDat44_463_, materialmg0_.TrackingNo AS Trackin45_463_, materialmg0_.AD_OrgTrx_ID AS AD_OrgT46_463_, materialmg0_.C_Project_ID AS C_Proje47_463_, materialmg0_.C_Campaign_ID AS C_Campa48_463_, materialmg0_.C_Activity_ID AS C_Activ49_463_, materialmg0_.User1_ID AS User50_463_, materialmg0_.User2_ID AS User51_463_, materialmg0_.UpdateLines AS UpdateL52_463_, materialmg0_.Islogistic AS Islogis53_463_, materialmg0_.Calculate_Freight AS Calcula54_463_, materialmg0_.Delivery_Location_ID AS Deliver55_463_, materialmg0_.M_FreightCategory_ID AS M_Freig56_463_, materialmg0_.Freight_Currency_ID AS Freight57_463_, materialmg0_.RM_Receipt_PickEdit AS RM_Rece58_463_, materialmg0_.RM_Shipment_Pickedit AS RM_Ship59_463_, materialmg0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm60_463_, materialmg0_.M_Condition_Goods_ID AS M_Condi61_463_, materialmg0_.A_Asset_ID AS A_Asset62_463_, materialmg0_.C_Costcenter_ID AS C_Costc63_463_, materialmg0_.Process_Goods_Java AS Process64_463_, materialmg0_.Isnettingshipment AS Isnetti65_463_, materialmg0_.Iscompletelyinvoiced AS Iscompl66_463_, materialmg0_.EM_OBMFM_Freight_ID AS EM_OBMF67_463_, materialmg0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc68_463_, materialmg0_.EM_OBMFM_Delivery_Charges AS EM_OBMF69_463_, materialmg0_.Invoicefromshipment AS Invoice70_463_, materialmg0_.Bpartner_Extref AS Bpartne71_463_, materialmg0_.EM_Prouti_Changebpartner AS EM_Prou72_463_, materialmg0_.EM_Prouti_Totalqtyreceived AS EM_Prou73_463_, materialmg0_.EM_OBMFM_Deliverynotes AS EM_OBMF74_463_, materialmg0_.EM_Prres_Description AS EM_Prre75_463_, materialmg0_.EM_Prres_Jsoninfo AS EM_Prre76_463_, materialmg0_.EM_Prrgr_Description AS EM_Prrg77_463_, materialmg0_.EM_Prrgr_Jsoninfo AS EM_Prrg78_463_, materialmg0_.EM_Prouti_Initial_Bp_ID AS EM_Prou79_463_, materialmg0_.EM_Prouti_Move_Stock AS EM_Prou80_463_, materialmg0_.EM_Prouti_Stock_Moved AS EM_Prou81_463_, materialmg0_.EM_Prqr_Execute AS EM_Prqr82_463_, materialmg0_.em_prlab_desc AS em_prla83_463_ FROM M_InOut materialmg0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON materialmg0_.C_BPartner_ID = businesspa1_.C_BPartner_ID INNER JOIN C_Order order2_ ON materialmg0_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg0_.C_DocType_ID = documentty3_.C_DocType_ID AND upper ((order2_.DocumentNo || ' - ' || COALESCE (to_char (order2_.DateOrdered), '') || ' - ' || COALESCE (to_char (order2_.GrandTotal), ''))) = upper ('PC26/14868 - 22-06-2026 - -86.02') AND (materialmg0_.MovementType IN ('V-', 'V+')) AND materialmg0_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND (materialmg0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY businesspa1_.Value DESC, businesspa1_.Name DESC, businesspa1_.TaxID DESC, businesspa1_.Name2 DESC, materialmg0_.M_InOut_ID DESC LIMIT '101';
-
SELECT materialmg0_.M_InOut_ID AS M_InOut_1_463_, materialmg0_.AD_Client_ID AS AD_Clien2_463_, materialmg0_.AD_Org_ID AS AD_Org_I3_463_, materialmg0_.IsActive AS IsActive4_463_, materialmg0_.Created AS Created5_463_, materialmg0_.CreatedBy AS CreatedB6_463_, materialmg0_.Updated AS Updated7_463_, materialmg0_.UpdatedBy AS UpdatedB8_463_, materialmg0_.IsSOTrx AS IsSOTrx9_463_, materialmg0_.DocumentNo AS Documen10_463_, materialmg0_.DocAction AS DocActi11_463_, materialmg0_.DocStatus AS DocStat12_463_, materialmg0_.Posted AS Posted13_463_, materialmg0_.Processing AS Process14_463_, materialmg0_.Processed AS Process15_463_, materialmg0_.C_DocType_ID AS C_DocTy16_463_, materialmg0_.Description AS Descrip17_463_, materialmg0_.C_Order_ID AS C_Order18_463_, materialmg0_.DateOrdered AS DateOrd19_463_, materialmg0_.IsPrinted AS IsPrint20_463_, materialmg0_.MovementType AS Movemen21_463_, materialmg0_.MovementDate AS Movemen22_463_, materialmg0_.DateAcct AS DateAcc23_463_, materialmg0_.C_BPartner_ID AS C_BPart24_463_, materialmg0_.C_BPartner_Location_ID AS C_BPart25_463_, materialmg0_.M_Warehouse_ID AS M_Wareh26_463_, materialmg0_.POReference AS PORefer27_463_, materialmg0_.DeliveryRule AS Deliver28_463_, materialmg0_.FreightCostRule AS Freight29_463_, materialmg0_.FreightAmt AS Freight30_463_, materialmg0_.DeliveryViaRule AS Deliver31_463_, materialmg0_.M_Shipper_ID AS M_Shipp32_463_, materialmg0_.C_Charge_ID AS C_Charg33_463_, materialmg0_.ChargeAmt AS ChargeA34_463_, materialmg0_.PriorityRule AS Priorit35_463_, materialmg0_.DatePrinted AS DatePri36_463_, materialmg0_.C_Invoice_ID AS C_Invoi37_463_, materialmg0_.CreateFrom AS CreateF38_463_, materialmg0_.GenerateTo AS Generat39_463_, materialmg0_.AD_User_ID AS AD_User40_463_, materialmg0_.SalesRep_ID AS SalesRe41_463_, materialmg0_.NoPackages AS NoPacka42_463_, materialmg0_.PickDate AS PickDat43_463_, materialmg0_.ShipDate AS ShipDat44_463_, materialmg0_.TrackingNo AS Trackin45_463_, materialmg0_.AD_OrgTrx_ID AS AD_OrgT46_463_, materialmg0_.C_Project_ID AS C_Proje47_463_, materialmg0_.C_Campaign_ID AS C_Campa48_463_, materialmg0_.C_Activity_ID AS C_Activ49_463_, materialmg0_.User1_ID AS User50_463_, materialmg0_.User2_ID AS User51_463_, materialmg0_.UpdateLines AS UpdateL52_463_, materialmg0_.Islogistic AS Islogis53_463_, materialmg0_.Calculate_Freight AS Calcula54_463_, materialmg0_.Delivery_Location_ID AS Deliver55_463_, materialmg0_.M_FreightCategory_ID AS M_Freig56_463_, materialmg0_.Freight_Currency_ID AS Freight57_463_, materialmg0_.RM_Receipt_PickEdit AS RM_Rece58_463_, materialmg0_.RM_Shipment_Pickedit AS RM_Ship59_463_, materialmg0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm60_463_, materialmg0_.M_Condition_Goods_ID AS M_Condi61_463_, materialmg0_.A_Asset_ID AS A_Asset62_463_, materialmg0_.C_Costcenter_ID AS C_Costc63_463_, materialmg0_.Process_Goods_Java AS Process64_463_, materialmg0_.Isnettingshipment AS Isnetti65_463_, materialmg0_.Iscompletelyinvoiced AS Iscompl66_463_, materialmg0_.EM_OBMFM_Freight_ID AS EM_OBMF67_463_, materialmg0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc68_463_, materialmg0_.EM_OBMFM_Delivery_Charges AS EM_OBMF69_463_, materialmg0_.Invoicefromshipment AS Invoice70_463_, materialmg0_.Bpartner_Extref AS Bpartne71_463_, materialmg0_.EM_Prouti_Changebpartner AS EM_Prou72_463_, materialmg0_.EM_Prouti_Totalqtyreceived AS EM_Prou73_463_, materialmg0_.EM_OBMFM_Deliverynotes AS EM_OBMF74_463_, materialmg0_.EM_Prres_Description AS EM_Prre75_463_, materialmg0_.EM_Prres_Jsoninfo AS EM_Prre76_463_, materialmg0_.EM_Prrgr_Description AS EM_Prrg77_463_, materialmg0_.EM_Prrgr_Jsoninfo AS EM_Prrg78_463_, materialmg0_.EM_Prouti_Initial_Bp_ID AS EM_Prou79_463_, materialmg0_.EM_Prouti_Move_Stock AS EM_Prou80_463_, materialmg0_.EM_Prouti_Stock_Moved AS EM_Prou81_463_, materialmg0_.EM_Prqr_Execute AS EM_Prqr82_463_, materialmg0_.em_prlab_desc AS em_prla83_463_ FROM M_InOut materialmg0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON materialmg0_.C_BPartner_ID = businesspa1_.C_BPartner_ID INNER JOIN C_Order order2_ ON materialmg0_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg0_.C_DocType_ID = documentty3_.C_DocType_ID AND upper ((order2_.DocumentNo || ' - ' || COALESCE (to_char (order2_.DateOrdered), '') || ' - ' || COALESCE (to_char (order2_.GrandTotal), ''))) = upper ('PC26/14868 - 22-06-2026 - -86.02') AND (materialmg0_.MovementType IN ('V-', 'V+')) AND materialmg0_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND (materialmg0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY businesspa1_.Value DESC, businesspa1_.Name DESC, businesspa1_.TaxID DESC, businesspa1_.Name2 DESC, materialmg0_.M_InOut_ID DESC LIMIT '101';
-
SELECT materialmg0_.M_InOut_ID AS M_InOut_1_463_, materialmg0_.AD_Client_ID AS AD_Clien2_463_, materialmg0_.AD_Org_ID AS AD_Org_I3_463_, materialmg0_.IsActive AS IsActive4_463_, materialmg0_.Created AS Created5_463_, materialmg0_.CreatedBy AS CreatedB6_463_, materialmg0_.Updated AS Updated7_463_, materialmg0_.UpdatedBy AS UpdatedB8_463_, materialmg0_.IsSOTrx AS IsSOTrx9_463_, materialmg0_.DocumentNo AS Documen10_463_, materialmg0_.DocAction AS DocActi11_463_, materialmg0_.DocStatus AS DocStat12_463_, materialmg0_.Posted AS Posted13_463_, materialmg0_.Processing AS Process14_463_, materialmg0_.Processed AS Process15_463_, materialmg0_.C_DocType_ID AS C_DocTy16_463_, materialmg0_.Description AS Descrip17_463_, materialmg0_.C_Order_ID AS C_Order18_463_, materialmg0_.DateOrdered AS DateOrd19_463_, materialmg0_.IsPrinted AS IsPrint20_463_, materialmg0_.MovementType AS Movemen21_463_, materialmg0_.MovementDate AS Movemen22_463_, materialmg0_.DateAcct AS DateAcc23_463_, materialmg0_.C_BPartner_ID AS C_BPart24_463_, materialmg0_.C_BPartner_Location_ID AS C_BPart25_463_, materialmg0_.M_Warehouse_ID AS M_Wareh26_463_, materialmg0_.POReference AS PORefer27_463_, materialmg0_.DeliveryRule AS Deliver28_463_, materialmg0_.FreightCostRule AS Freight29_463_, materialmg0_.FreightAmt AS Freight30_463_, materialmg0_.DeliveryViaRule AS Deliver31_463_, materialmg0_.M_Shipper_ID AS M_Shipp32_463_, materialmg0_.C_Charge_ID AS C_Charg33_463_, materialmg0_.ChargeAmt AS ChargeA34_463_, materialmg0_.PriorityRule AS Priorit35_463_, materialmg0_.DatePrinted AS DatePri36_463_, materialmg0_.C_Invoice_ID AS C_Invoi37_463_, materialmg0_.CreateFrom AS CreateF38_463_, materialmg0_.GenerateTo AS Generat39_463_, materialmg0_.AD_User_ID AS AD_User40_463_, materialmg0_.SalesRep_ID AS SalesRe41_463_, materialmg0_.NoPackages AS NoPacka42_463_, materialmg0_.PickDate AS PickDat43_463_, materialmg0_.ShipDate AS ShipDat44_463_, materialmg0_.TrackingNo AS Trackin45_463_, materialmg0_.AD_OrgTrx_ID AS AD_OrgT46_463_, materialmg0_.C_Project_ID AS C_Proje47_463_, materialmg0_.C_Campaign_ID AS C_Campa48_463_, materialmg0_.C_Activity_ID AS C_Activ49_463_, materialmg0_.User1_ID AS User50_463_, materialmg0_.User2_ID AS User51_463_, materialmg0_.UpdateLines AS UpdateL52_463_, materialmg0_.Islogistic AS Islogis53_463_, materialmg0_.Calculate_Freight AS Calcula54_463_, materialmg0_.Delivery_Location_ID AS Deliver55_463_, materialmg0_.M_FreightCategory_ID AS M_Freig56_463_, materialmg0_.Freight_Currency_ID AS Freight57_463_, materialmg0_.RM_Receipt_PickEdit AS RM_Rece58_463_, materialmg0_.RM_Shipment_Pickedit AS RM_Ship59_463_, materialmg0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm60_463_, materialmg0_.M_Condition_Goods_ID AS M_Condi61_463_, materialmg0_.A_Asset_ID AS A_Asset62_463_, materialmg0_.C_Costcenter_ID AS C_Costc63_463_, materialmg0_.Process_Goods_Java AS Process64_463_, materialmg0_.Isnettingshipment AS Isnetti65_463_, materialmg0_.Iscompletelyinvoiced AS Iscompl66_463_, materialmg0_.EM_OBMFM_Freight_ID AS EM_OBMF67_463_, materialmg0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc68_463_, materialmg0_.EM_OBMFM_Delivery_Charges AS EM_OBMF69_463_, materialmg0_.Invoicefromshipment AS Invoice70_463_, materialmg0_.Bpartner_Extref AS Bpartne71_463_, materialmg0_.EM_Prouti_Changebpartner AS EM_Prou72_463_, materialmg0_.EM_Prouti_Totalqtyreceived AS EM_Prou73_463_, materialmg0_.EM_OBMFM_Deliverynotes AS EM_OBMF74_463_, materialmg0_.EM_Prres_Description AS EM_Prre75_463_, materialmg0_.EM_Prres_Jsoninfo AS EM_Prre76_463_, materialmg0_.EM_Prrgr_Description AS EM_Prrg77_463_, materialmg0_.EM_Prrgr_Jsoninfo AS EM_Prrg78_463_, materialmg0_.EM_Prouti_Initial_Bp_ID AS EM_Prou79_463_, materialmg0_.EM_Prouti_Move_Stock AS EM_Prou80_463_, materialmg0_.EM_Prouti_Stock_Moved AS EM_Prou81_463_, materialmg0_.EM_Prqr_Execute AS EM_Prqr82_463_, materialmg0_.em_prlab_desc AS em_prla83_463_ FROM M_InOut materialmg0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON materialmg0_.C_BPartner_ID = businesspa1_.C_BPartner_ID INNER JOIN C_Order order2_ ON materialmg0_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg0_.C_DocType_ID = documentty3_.C_DocType_ID AND upper ((order2_.DocumentNo || ' - ' || COALESCE (to_char (order2_.DateOrdered), '') || ' - ' || COALESCE (to_char (order2_.GrandTotal), ''))) = upper ('PC26/14868 - 22-06-2026 - -86.02') AND (materialmg0_.MovementType IN ('V-', 'V+')) AND materialmg0_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND (materialmg0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY businesspa1_.Value DESC, businesspa1_.Name DESC, businesspa1_.TaxID DESC, businesspa1_.Name2 DESC, materialmg0_.M_InOut_ID DESC LIMIT '101';
Date: 2026-07-15 10:11:29 Duration: 6s972ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:01:28 Duration: 6s971ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:29:54 Duration: 6s494ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 18 2m43s 7s753ms 14s456ms 9s79ms SELECT invoice0_.c_invoice_id AS c_invoic1_260_, invoice0_.ad_client_id AS ad_clien2_260_, invoice0_.ad_org_id AS ad_org_i3_260_, invoice0_.isactive AS isactive4_260_, invoice0_.created AS created5_260_, invoice0_.createdby AS createdb6_260_, invoice0_.updated AS updated7_260_, invoice0_.updatedby AS updatedb8_260_, invoice0_.issotrx AS issotrx9_260_, invoice0_.documentno AS documen10_260_, invoice0_.docstatus AS docstat11_260_, invoice0_.docaction AS docacti12_260_, invoice0_.processing AS process13_260_, invoice0_.processed AS process14_260_, invoice0_.posted AS posted15_260_, invoice0_.c_doctype_id AS c_docty16_260_, invoice0_.c_doctypetarget_id AS c_docty17_260_, invoice0_.c_order_id AS c_order18_260_, invoice0_.description AS descrip19_260_, invoice0_.isprinted AS isprint20_260_, invoice0_.salesrep_id AS salesre21_260_, invoice0_.dateinvoiced AS dateinv22_260_, invoice0_.dateprinted AS datepri23_260_, invoice0_.dateacct AS dateacc24_260_, invoice0_.c_bpartner_id AS c_bpart25_260_, invoice0_.c_bpartner_location_id AS c_bpart26_260_, invoice0_.poreference AS porefer27_260_, invoice0_.isdiscountprinted AS isdisco28_260_, invoice0_.dateordered AS dateord29_260_, invoice0_.c_currency_id AS c_curre30_260_, invoice0_.c_paymentterm_id AS c_payme31_260_, invoice0_.c_charge_id AS c_charg32_260_, invoice0_.chargeamt AS chargea33_260_, invoice0_.totallines AS totalli34_260_, invoice0_.grandtotal AS grandto35_260_, invoice0_.m_pricelist_id AS m_price36_260_, invoice0_.istaxincluded AS istaxin37_260_, invoice0_.c_campaign_id AS c_campa38_260_, invoice0_.c_project_id AS c_proje39_260_, invoice0_.c_activity_id AS c_activ40_260_, invoice0_.createfrom AS createf41_260_, invoice0_.generateto AS generat42_260_, invoice0_.ad_user_id AS ad_user43_260_, invoice0_.copyfrom AS copyfro44_260_, invoice0_.isselfservice AS isselfs45_260_, invoice0_.ad_orgtrx_id AS ad_orgt46_260_, invoice0_.user1_id AS user47_260_, invoice0_.user2_id AS user48_260_, invoice0_.withholdingamount AS withhol49_260_, invoice0_.taxdate AS taxdate50_260_, invoice0_.c_withholding_id AS c_withh51_260_, invoice0_.ispaid AS ispaid52_260_, invoice0_.em_einv_generated AS em_einv53_260_, invoice0_.totalpaid AS totalpa54_260_, invoice0_.em_einv_sent AS em_einv55_260_, invoice0_.outstandingamt AS outstan56_260_, invoice0_.daystilldue AS daystil57_260_, invoice0_.dueamt AS dueamt58_260_, invoice0_.lastcalculatedondate AS lastcal59_260_, invoice0_.fin_paymentmethod_id AS fin_pay60_260_, invoice0_.fin_payment_priority_id AS fin_pay61_260_, invoice0_.finalsettlement AS finalse62_260_, invoice0_.daysoutstanding AS daysout63_260_, invoice0_.percentageoverdue AS percent64_260_, invoice0_.c_costcenter_id AS c_costc65_260_, invoice0_.calculate_promotions AS calcula66_260_, invoice0_.a_asset_id AS a_asset67_260_, invoice0_.em_aprm_addpayment AS em_aprm68_260_, invoice0_.iscashvat AS iscashv69_260_, invoice0_.em_aprm_processinvoice AS em_aprm70_260_, invoice0_.em_obcma_c_poc_email_id AS em_obcm71_260_, invoice0_.prepaymentamt AS prepaym72_260_, invoice0_.createfromorders AS createf73_260_, invoice0_.createfrominouts AS createf74_260_, invoice0_.em_advcrm_newactivity AS em_advc75_260_, invoice0_.paidamtatinvoicing AS paidamt76_260_, invoice0_.em_obpos_rounding_amount AS em_obpo77_260_, invoice0_.em_sgpcrm_securitygroups_id AS em_sgpc78_260_, invoice0_.bpartner_extref AS bpartne79_260_, invoice0_.em_aeatsii_send AS em_aeat80_260_, invoice0_.em_obpos_sequencename AS em_obpo81_260_, invoice0_.em_aeatsii_issent AS em_aeat82_260_, invoice0_.em_obpos_sequencenumber AS em_obpo83_260_, invoice0_.em_aeatsii_fecha_operacion AS em_aeat84_260_, invoice0_.em_aeatsii_clave_tipo AS em_aeat85_260_, invoice0_.em_aeatsii_motivo_rectif AS em_aeat86_260_, invoice0_.em_prouti_recalculate_price AS em_prou87_260_, invoice0_.em_aeatsii_clave_tipo_fc AS em_aeat88_260_, invoice0_.em_ml_select_product AS em_ml_s89_260_, invoice0_.em_prouti_pricecalculatetdate AS em_prou90_260_, invoice0_.em_aeatsii_tipo_rectif AS em_aeat91_260_, invoice0_.em_prouti_totalizations AS em_prou92_260_, invoice0_.em_aeatsii_dua AS em_aeat93_260_, invoice0_.em_aeatsii_fecha_dua AS em_aeat94_260_, invoice0_.em_aeatsii_estado AS em_aeat95_260_, invoice0_.em_aeatsii_error_registral AS em_aeat96_260_, invoice0_.em_aeatsii_modif AS em_aeat97_260_, invoice0_.em_aeatsii_modified AS em_aeat98_260_, invoice0_.em_aeatsii_description_id AS em_aeat99_260_, invoice0_.em_aeatsii_descripcion_sii AS em_aea100_260_, invoice0_.em_aeatsii_fecha_reg_cont AS em_aea101_260_, invoice0_.em_aeatsii_dup AS em_aea102_260_, invoice0_.em_aeatsii_error_code AS em_aea103_260_, invoice0_.em_aeatsii_error_msg AS em_aea104_260_, invoice0_.em_aeatsii_unsubscribe AS em_aea105_260_, invoice0_.em_aeatsii_pur_description_id AS em_aea106_260_, invoice0_.em_aeatsii_multi_dua AS em_aea107_260_, invoice0_.em_aeatsii_ejercicio AS em_aea108_260_, invoice0_.em_aeatsii_periodo AS em_aea109_260_, invoice0_.em_aeatsii_autofactura AS em_aea110_260_, invoice0_.em_aeatsii_invoice_id AS em_aea111_260_, invoice0_.em_aeatsii_insiidate AS em_aea112_260_, invoice0_.em_aeatsii_cause_exemption_id AS em_aea113_260_, invoice0_.em_aeatsii_isauthorization AS em_aea114_260_, invoice0_.em_aeatsii_authorizationno AS em_aea115_260_, invoice0_.em_priuti_createpurchinv AS em_pri116_260_, invoice0_.em_priuti_generated AS em_pri117_260_, invoice0_.em_priuti_date_complete AS em_pri118_260_, invoice0_.em_prges_expediente_id AS em_prg119_260_, invoice0_.em_priuti_user_complete_id AS em_pri120_260_, invoice0_.em_prges_annotation_id AS em_prg121_260_, invoice0_.em_prges_record_number AS em_prg122_260_, invoice0_.em_priuti_status_of_review AS em_pri123_260_, invoice0_.em_prges_grantotal AS em_prg124_260_, invoice0_.em_priuti_validate AS em_pri125_260_, invoice0_.em_priuti_start_review AS em_pri126_260_, invoice0_.em_prges_poreference AS em_prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM c_invoice invoice0_ LEFT OUTER JOIN c_bpartner businesspa1_ ON invoice0_.c_bpartner_id = businesspa1_.c_bpartner_id WHERE (upper (invoice0_.documentno) LIKE upper ('') ESCAPE '') AND (upper ((businesspa1_.value || '' || businesspa1_.name || '' || COALESCE (to_char (businesspa1_.taxid), '') || '' || COALESCE (to_char (businesspa1_.name2), ''))) LIKE upper ('') ESCAPE '') AND invoice0_.issotrx = '' AND invoice0_.docstatus <> '' AND (invoice0_.ad_org_id IN (...)) AND (invoice0_.ad_client_id IN (...)) ORDER BY invoice0_.c_invoice_id DESC LIMIT '';Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 15 12 18 2m43s 9s79ms [ User: tad - Total duration: 2m43s - Times executed: 18 ]
[ Application: openbravo - Total duration: 2m43s - Times executed: 18 ]
-
SELECT invoice0_.C_Invoice_ID AS C_Invoic1_260_, invoice0_.AD_Client_ID AS AD_Clien2_260_, invoice0_.AD_Org_ID AS AD_Org_I3_260_, invoice0_.IsActive AS IsActive4_260_, invoice0_.Created AS Created5_260_, invoice0_.CreatedBy AS CreatedB6_260_, invoice0_.Updated AS Updated7_260_, invoice0_.UpdatedBy AS UpdatedB8_260_, invoice0_.IsSOTrx AS IsSOTrx9_260_, invoice0_.DocumentNo AS Documen10_260_, invoice0_.DocStatus AS DocStat11_260_, invoice0_.DocAction AS DocActi12_260_, invoice0_.Processing AS Process13_260_, invoice0_.Processed AS Process14_260_, invoice0_.Posted AS Posted15_260_, invoice0_.C_DocType_ID AS C_DocTy16_260_, invoice0_.C_DocTypeTarget_ID AS C_DocTy17_260_, invoice0_.C_Order_ID AS C_Order18_260_, invoice0_.Description AS Descrip19_260_, invoice0_.IsPrinted AS IsPrint20_260_, invoice0_.SalesRep_ID AS SalesRe21_260_, invoice0_.DateInvoiced AS DateInv22_260_, invoice0_.DatePrinted AS DatePri23_260_, invoice0_.DateAcct AS DateAcc24_260_, invoice0_.C_BPartner_ID AS C_BPart25_260_, invoice0_.C_BPartner_Location_ID AS C_BPart26_260_, invoice0_.POReference AS PORefer27_260_, invoice0_.IsDiscountPrinted AS IsDisco28_260_, invoice0_.DateOrdered AS DateOrd29_260_, invoice0_.C_Currency_ID AS C_Curre30_260_, invoice0_.C_PaymentTerm_ID AS C_Payme31_260_, invoice0_.C_Charge_ID AS C_Charg32_260_, invoice0_.ChargeAmt AS ChargeA33_260_, invoice0_.TotalLines AS TotalLi34_260_, invoice0_.GrandTotal AS GrandTo35_260_, invoice0_.M_PriceList_ID AS M_Price36_260_, invoice0_.IsTaxIncluded AS IsTaxIn37_260_, invoice0_.C_Campaign_ID AS C_Campa38_260_, invoice0_.C_Project_ID AS C_Proje39_260_, invoice0_.C_Activity_ID AS C_Activ40_260_, invoice0_.CreateFrom AS CreateF41_260_, invoice0_.GenerateTo AS Generat42_260_, invoice0_.AD_User_ID AS AD_User43_260_, invoice0_.CopyFrom AS CopyFro44_260_, invoice0_.IsSelfService AS IsSelfS45_260_, invoice0_.AD_OrgTrx_ID AS AD_OrgT46_260_, invoice0_.User1_ID AS User47_260_, invoice0_.User2_ID AS User48_260_, invoice0_.Withholdingamount AS Withhol49_260_, invoice0_.Taxdate AS Taxdate50_260_, invoice0_.C_Withholding_ID AS C_Withh51_260_, invoice0_.Ispaid AS Ispaid52_260_, invoice0_.EM_Einv_Generated AS EM_Einv53_260_, invoice0_.Totalpaid AS Totalpa54_260_, invoice0_.EM_Einv_Sent AS EM_Einv55_260_, invoice0_.OutstandingAmt AS Outstan56_260_, invoice0_.DaysTillDue AS DaysTil57_260_, invoice0_.DueAmt AS DueAmt58_260_, invoice0_.LastCalculatedOnDate AS LastCal59_260_, invoice0_.FIN_Paymentmethod_ID AS FIN_Pay60_260_, invoice0_.FIN_Payment_Priority_ID AS FIN_Pay61_260_, invoice0_.Finalsettlement AS Finalse62_260_, invoice0_.Daysoutstanding AS Daysout63_260_, invoice0_.Percentageoverdue AS Percent64_260_, invoice0_.C_Costcenter_ID AS C_Costc65_260_, invoice0_.Calculate_Promotions AS Calcula66_260_, invoice0_.A_Asset_ID AS A_Asset67_260_, invoice0_.EM_APRM_Addpayment AS EM_APRM68_260_, invoice0_.Iscashvat AS Iscashv69_260_, invoice0_.EM_APRM_Processinvoice AS EM_APRM70_260_, invoice0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm71_260_, invoice0_.Prepaymentamt AS Prepaym72_260_, invoice0_.Createfromorders AS Createf73_260_, invoice0_.Createfrominouts AS Createf74_260_, invoice0_.EM_Advcrm_Newactivity AS EM_Advc75_260_, invoice0_.Paidamtatinvoicing AS Paidamt76_260_, invoice0_.EM_Obpos_Rounding_Amount AS EM_Obpo77_260_, invoice0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc78_260_, invoice0_.BPartner_ExtRef AS BPartne79_260_, invoice0_.EM_Aeatsii_Send AS EM_Aeat80_260_, invoice0_.EM_Obpos_Sequencename AS EM_Obpo81_260_, invoice0_.EM_Aeatsii_Issent AS EM_Aeat82_260_, invoice0_.EM_Obpos_Sequencenumber AS EM_Obpo83_260_, invoice0_.EM_Aeatsii_Fecha_Operacion AS EM_Aeat84_260_, invoice0_.EM_Aeatsii_Clave_Tipo AS EM_Aeat85_260_, invoice0_.EM_Aeatsii_Motivo_Rectif AS EM_Aeat86_260_, invoice0_.EM_Prouti_Recalculate_Price AS EM_Prou87_260_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc AS EM_Aeat88_260_, invoice0_.EM_Ml_Select_Product AS EM_Ml_S89_260_, invoice0_.EM_Prouti_Pricecalculatetdate AS EM_Prou90_260_, invoice0_.EM_Aeatsii_Tipo_Rectif AS EM_Aeat91_260_, invoice0_.EM_Prouti_Totalizations AS EM_Prou92_260_, invoice0_.EM_Aeatsii_Dua AS EM_Aeat93_260_, invoice0_.EM_Aeatsii_Fecha_Dua AS EM_Aeat94_260_, invoice0_.EM_Aeatsii_Estado AS EM_Aeat95_260_, invoice0_.EM_Aeatsii_Error_Registral AS EM_Aeat96_260_, invoice0_.EM_Aeatsii_Modif AS EM_Aeat97_260_, invoice0_.EM_Aeatsii_Modified AS EM_Aeat98_260_, invoice0_.EM_Aeatsii_Description_ID AS EM_Aeat99_260_, invoice0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea100_260_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont AS EM_Aea101_260_, invoice0_.EM_Aeatsii_Dup AS EM_Aea102_260_, invoice0_.EM_Aeatsii_Error_Code AS EM_Aea103_260_, invoice0_.EM_Aeatsii_Error_Msg AS EM_Aea104_260_, invoice0_.EM_Aeatsii_Unsubscribe AS EM_Aea105_260_, invoice0_.EM_Aeatsii_Pur_Description_ID AS EM_Aea106_260_, invoice0_.EM_Aeatsii_Multi_Dua AS EM_Aea107_260_, invoice0_.EM_Aeatsii_Ejercicio AS EM_Aea108_260_, invoice0_.EM_Aeatsii_Periodo AS EM_Aea109_260_, invoice0_.EM_Aeatsii_Autofactura AS EM_Aea110_260_, invoice0_.EM_Aeatsii_Invoice_ID AS EM_Aea111_260_, invoice0_.EM_Aeatsii_Insiidate AS EM_Aea112_260_, invoice0_.EM_Aeatsii_Cause_Exemption_ID AS EM_Aea113_260_, invoice0_.EM_Aeatsii_Isauthorization AS EM_Aea114_260_, invoice0_.EM_Aeatsii_Authorizationno AS EM_Aea115_260_, invoice0_.EM_Priuti_Createpurchinv AS EM_Pri116_260_, invoice0_.EM_Priuti_Generated AS EM_Pri117_260_, invoice0_.EM_Priuti_Date_Complete AS EM_Pri118_260_, invoice0_.EM_Prges_Expediente_ID AS EM_Prg119_260_, invoice0_.EM_Priuti_User_Complete_ID AS EM_Pri120_260_, invoice0_.EM_Prges_Annotation_ID AS EM_Prg121_260_, invoice0_.EM_Prges_Record_Number AS EM_Prg122_260_, invoice0_.EM_Priuti_Status_Of_Review AS EM_Pri123_260_, invoice0_.EM_Prges_Grantotal AS EM_Prg124_260_, invoice0_.EM_Priuti_Validate AS EM_Pri125_260_, invoice0_.EM_Priuti_Start_Review AS EM_Pri126_260_, invoice0_.EM_Prges_Poreference AS EM_Prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM C_Invoice invoice0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON invoice0_.C_BPartner_ID = businesspa1_.C_BPartner_ID WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%M%') ESCAPE '|') AND (upper ((businesspa1_.Value || ' - ' || businesspa1_.Name || ' - ' || COALESCE (to_char (businesspa1_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa1_.Name2), ''))) LIKE upper ('%TUI%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY invoice0_.C_Invoice_ID DESC LIMIT '101';
-
SELECT invoice0_.C_Invoice_ID AS C_Invoic1_260_, invoice0_.AD_Client_ID AS AD_Clien2_260_, invoice0_.AD_Org_ID AS AD_Org_I3_260_, invoice0_.IsActive AS IsActive4_260_, invoice0_.Created AS Created5_260_, invoice0_.CreatedBy AS CreatedB6_260_, invoice0_.Updated AS Updated7_260_, invoice0_.UpdatedBy AS UpdatedB8_260_, invoice0_.IsSOTrx AS IsSOTrx9_260_, invoice0_.DocumentNo AS Documen10_260_, invoice0_.DocStatus AS DocStat11_260_, invoice0_.DocAction AS DocActi12_260_, invoice0_.Processing AS Process13_260_, invoice0_.Processed AS Process14_260_, invoice0_.Posted AS Posted15_260_, invoice0_.C_DocType_ID AS C_DocTy16_260_, invoice0_.C_DocTypeTarget_ID AS C_DocTy17_260_, invoice0_.C_Order_ID AS C_Order18_260_, invoice0_.Description AS Descrip19_260_, invoice0_.IsPrinted AS IsPrint20_260_, invoice0_.SalesRep_ID AS SalesRe21_260_, invoice0_.DateInvoiced AS DateInv22_260_, invoice0_.DatePrinted AS DatePri23_260_, invoice0_.DateAcct AS DateAcc24_260_, invoice0_.C_BPartner_ID AS C_BPart25_260_, invoice0_.C_BPartner_Location_ID AS C_BPart26_260_, invoice0_.POReference AS PORefer27_260_, invoice0_.IsDiscountPrinted AS IsDisco28_260_, invoice0_.DateOrdered AS DateOrd29_260_, invoice0_.C_Currency_ID AS C_Curre30_260_, invoice0_.C_PaymentTerm_ID AS C_Payme31_260_, invoice0_.C_Charge_ID AS C_Charg32_260_, invoice0_.ChargeAmt AS ChargeA33_260_, invoice0_.TotalLines AS TotalLi34_260_, invoice0_.GrandTotal AS GrandTo35_260_, invoice0_.M_PriceList_ID AS M_Price36_260_, invoice0_.IsTaxIncluded AS IsTaxIn37_260_, invoice0_.C_Campaign_ID AS C_Campa38_260_, invoice0_.C_Project_ID AS C_Proje39_260_, invoice0_.C_Activity_ID AS C_Activ40_260_, invoice0_.CreateFrom AS CreateF41_260_, invoice0_.GenerateTo AS Generat42_260_, invoice0_.AD_User_ID AS AD_User43_260_, invoice0_.CopyFrom AS CopyFro44_260_, invoice0_.IsSelfService AS IsSelfS45_260_, invoice0_.AD_OrgTrx_ID AS AD_OrgT46_260_, invoice0_.User1_ID AS User47_260_, invoice0_.User2_ID AS User48_260_, invoice0_.Withholdingamount AS Withhol49_260_, invoice0_.Taxdate AS Taxdate50_260_, invoice0_.C_Withholding_ID AS C_Withh51_260_, invoice0_.Ispaid AS Ispaid52_260_, invoice0_.EM_Einv_Generated AS EM_Einv53_260_, invoice0_.Totalpaid AS Totalpa54_260_, invoice0_.EM_Einv_Sent AS EM_Einv55_260_, invoice0_.OutstandingAmt AS Outstan56_260_, invoice0_.DaysTillDue AS DaysTil57_260_, invoice0_.DueAmt AS DueAmt58_260_, invoice0_.LastCalculatedOnDate AS LastCal59_260_, invoice0_.FIN_Paymentmethod_ID AS FIN_Pay60_260_, invoice0_.FIN_Payment_Priority_ID AS FIN_Pay61_260_, invoice0_.Finalsettlement AS Finalse62_260_, invoice0_.Daysoutstanding AS Daysout63_260_, invoice0_.Percentageoverdue AS Percent64_260_, invoice0_.C_Costcenter_ID AS C_Costc65_260_, invoice0_.Calculate_Promotions AS Calcula66_260_, invoice0_.A_Asset_ID AS A_Asset67_260_, invoice0_.EM_APRM_Addpayment AS EM_APRM68_260_, invoice0_.Iscashvat AS Iscashv69_260_, invoice0_.EM_APRM_Processinvoice AS EM_APRM70_260_, invoice0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm71_260_, invoice0_.Prepaymentamt AS Prepaym72_260_, invoice0_.Createfromorders AS Createf73_260_, invoice0_.Createfrominouts AS Createf74_260_, invoice0_.EM_Advcrm_Newactivity AS EM_Advc75_260_, invoice0_.Paidamtatinvoicing AS Paidamt76_260_, invoice0_.EM_Obpos_Rounding_Amount AS EM_Obpo77_260_, invoice0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc78_260_, invoice0_.BPartner_ExtRef AS BPartne79_260_, invoice0_.EM_Aeatsii_Send AS EM_Aeat80_260_, invoice0_.EM_Obpos_Sequencename AS EM_Obpo81_260_, invoice0_.EM_Aeatsii_Issent AS EM_Aeat82_260_, invoice0_.EM_Obpos_Sequencenumber AS EM_Obpo83_260_, invoice0_.EM_Aeatsii_Fecha_Operacion AS EM_Aeat84_260_, invoice0_.EM_Aeatsii_Clave_Tipo AS EM_Aeat85_260_, invoice0_.EM_Aeatsii_Motivo_Rectif AS EM_Aeat86_260_, invoice0_.EM_Prouti_Recalculate_Price AS EM_Prou87_260_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc AS EM_Aeat88_260_, invoice0_.EM_Ml_Select_Product AS EM_Ml_S89_260_, invoice0_.EM_Prouti_Pricecalculatetdate AS EM_Prou90_260_, invoice0_.EM_Aeatsii_Tipo_Rectif AS EM_Aeat91_260_, invoice0_.EM_Prouti_Totalizations AS EM_Prou92_260_, invoice0_.EM_Aeatsii_Dua AS EM_Aeat93_260_, invoice0_.EM_Aeatsii_Fecha_Dua AS EM_Aeat94_260_, invoice0_.EM_Aeatsii_Estado AS EM_Aeat95_260_, invoice0_.EM_Aeatsii_Error_Registral AS EM_Aeat96_260_, invoice0_.EM_Aeatsii_Modif AS EM_Aeat97_260_, invoice0_.EM_Aeatsii_Modified AS EM_Aeat98_260_, invoice0_.EM_Aeatsii_Description_ID AS EM_Aeat99_260_, invoice0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea100_260_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont AS EM_Aea101_260_, invoice0_.EM_Aeatsii_Dup AS EM_Aea102_260_, invoice0_.EM_Aeatsii_Error_Code AS EM_Aea103_260_, invoice0_.EM_Aeatsii_Error_Msg AS EM_Aea104_260_, invoice0_.EM_Aeatsii_Unsubscribe AS EM_Aea105_260_, invoice0_.EM_Aeatsii_Pur_Description_ID AS EM_Aea106_260_, invoice0_.EM_Aeatsii_Multi_Dua AS EM_Aea107_260_, invoice0_.EM_Aeatsii_Ejercicio AS EM_Aea108_260_, invoice0_.EM_Aeatsii_Periodo AS EM_Aea109_260_, invoice0_.EM_Aeatsii_Autofactura AS EM_Aea110_260_, invoice0_.EM_Aeatsii_Invoice_ID AS EM_Aea111_260_, invoice0_.EM_Aeatsii_Insiidate AS EM_Aea112_260_, invoice0_.EM_Aeatsii_Cause_Exemption_ID AS EM_Aea113_260_, invoice0_.EM_Aeatsii_Isauthorization AS EM_Aea114_260_, invoice0_.EM_Aeatsii_Authorizationno AS EM_Aea115_260_, invoice0_.EM_Priuti_Createpurchinv AS EM_Pri116_260_, invoice0_.EM_Priuti_Generated AS EM_Pri117_260_, invoice0_.EM_Priuti_Date_Complete AS EM_Pri118_260_, invoice0_.EM_Prges_Expediente_ID AS EM_Prg119_260_, invoice0_.EM_Priuti_User_Complete_ID AS EM_Pri120_260_, invoice0_.EM_Prges_Annotation_ID AS EM_Prg121_260_, invoice0_.EM_Prges_Record_Number AS EM_Prg122_260_, invoice0_.EM_Priuti_Status_Of_Review AS EM_Pri123_260_, invoice0_.EM_Prges_Grantotal AS EM_Prg124_260_, invoice0_.EM_Priuti_Validate AS EM_Pri125_260_, invoice0_.EM_Priuti_Start_Review AS EM_Pri126_260_, invoice0_.EM_Prges_Poreference AS EM_Prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM C_Invoice invoice0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON invoice0_.C_BPartner_ID = businesspa1_.C_BPartner_ID WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1605%') ESCAPE '|') AND (upper ((businesspa1_.Value || ' - ' || businesspa1_.Name || ' - ' || COALESCE (to_char (businesspa1_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa1_.Name2), ''))) LIKE upper ('%TUI%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY invoice0_.C_Invoice_ID DESC LIMIT '101';
-
SELECT invoice0_.C_Invoice_ID AS C_Invoic1_260_, invoice0_.AD_Client_ID AS AD_Clien2_260_, invoice0_.AD_Org_ID AS AD_Org_I3_260_, invoice0_.IsActive AS IsActive4_260_, invoice0_.Created AS Created5_260_, invoice0_.CreatedBy AS CreatedB6_260_, invoice0_.Updated AS Updated7_260_, invoice0_.UpdatedBy AS UpdatedB8_260_, invoice0_.IsSOTrx AS IsSOTrx9_260_, invoice0_.DocumentNo AS Documen10_260_, invoice0_.DocStatus AS DocStat11_260_, invoice0_.DocAction AS DocActi12_260_, invoice0_.Processing AS Process13_260_, invoice0_.Processed AS Process14_260_, invoice0_.Posted AS Posted15_260_, invoice0_.C_DocType_ID AS C_DocTy16_260_, invoice0_.C_DocTypeTarget_ID AS C_DocTy17_260_, invoice0_.C_Order_ID AS C_Order18_260_, invoice0_.Description AS Descrip19_260_, invoice0_.IsPrinted AS IsPrint20_260_, invoice0_.SalesRep_ID AS SalesRe21_260_, invoice0_.DateInvoiced AS DateInv22_260_, invoice0_.DatePrinted AS DatePri23_260_, invoice0_.DateAcct AS DateAcc24_260_, invoice0_.C_BPartner_ID AS C_BPart25_260_, invoice0_.C_BPartner_Location_ID AS C_BPart26_260_, invoice0_.POReference AS PORefer27_260_, invoice0_.IsDiscountPrinted AS IsDisco28_260_, invoice0_.DateOrdered AS DateOrd29_260_, invoice0_.C_Currency_ID AS C_Curre30_260_, invoice0_.C_PaymentTerm_ID AS C_Payme31_260_, invoice0_.C_Charge_ID AS C_Charg32_260_, invoice0_.ChargeAmt AS ChargeA33_260_, invoice0_.TotalLines AS TotalLi34_260_, invoice0_.GrandTotal AS GrandTo35_260_, invoice0_.M_PriceList_ID AS M_Price36_260_, invoice0_.IsTaxIncluded AS IsTaxIn37_260_, invoice0_.C_Campaign_ID AS C_Campa38_260_, invoice0_.C_Project_ID AS C_Proje39_260_, invoice0_.C_Activity_ID AS C_Activ40_260_, invoice0_.CreateFrom AS CreateF41_260_, invoice0_.GenerateTo AS Generat42_260_, invoice0_.AD_User_ID AS AD_User43_260_, invoice0_.CopyFrom AS CopyFro44_260_, invoice0_.IsSelfService AS IsSelfS45_260_, invoice0_.AD_OrgTrx_ID AS AD_OrgT46_260_, invoice0_.User1_ID AS User47_260_, invoice0_.User2_ID AS User48_260_, invoice0_.Withholdingamount AS Withhol49_260_, invoice0_.Taxdate AS Taxdate50_260_, invoice0_.C_Withholding_ID AS C_Withh51_260_, invoice0_.Ispaid AS Ispaid52_260_, invoice0_.EM_Einv_Generated AS EM_Einv53_260_, invoice0_.Totalpaid AS Totalpa54_260_, invoice0_.EM_Einv_Sent AS EM_Einv55_260_, invoice0_.OutstandingAmt AS Outstan56_260_, invoice0_.DaysTillDue AS DaysTil57_260_, invoice0_.DueAmt AS DueAmt58_260_, invoice0_.LastCalculatedOnDate AS LastCal59_260_, invoice0_.FIN_Paymentmethod_ID AS FIN_Pay60_260_, invoice0_.FIN_Payment_Priority_ID AS FIN_Pay61_260_, invoice0_.Finalsettlement AS Finalse62_260_, invoice0_.Daysoutstanding AS Daysout63_260_, invoice0_.Percentageoverdue AS Percent64_260_, invoice0_.C_Costcenter_ID AS C_Costc65_260_, invoice0_.Calculate_Promotions AS Calcula66_260_, invoice0_.A_Asset_ID AS A_Asset67_260_, invoice0_.EM_APRM_Addpayment AS EM_APRM68_260_, invoice0_.Iscashvat AS Iscashv69_260_, invoice0_.EM_APRM_Processinvoice AS EM_APRM70_260_, invoice0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm71_260_, invoice0_.Prepaymentamt AS Prepaym72_260_, invoice0_.Createfromorders AS Createf73_260_, invoice0_.Createfrominouts AS Createf74_260_, invoice0_.EM_Advcrm_Newactivity AS EM_Advc75_260_, invoice0_.Paidamtatinvoicing AS Paidamt76_260_, invoice0_.EM_Obpos_Rounding_Amount AS EM_Obpo77_260_, invoice0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc78_260_, invoice0_.BPartner_ExtRef AS BPartne79_260_, invoice0_.EM_Aeatsii_Send AS EM_Aeat80_260_, invoice0_.EM_Obpos_Sequencename AS EM_Obpo81_260_, invoice0_.EM_Aeatsii_Issent AS EM_Aeat82_260_, invoice0_.EM_Obpos_Sequencenumber AS EM_Obpo83_260_, invoice0_.EM_Aeatsii_Fecha_Operacion AS EM_Aeat84_260_, invoice0_.EM_Aeatsii_Clave_Tipo AS EM_Aeat85_260_, invoice0_.EM_Aeatsii_Motivo_Rectif AS EM_Aeat86_260_, invoice0_.EM_Prouti_Recalculate_Price AS EM_Prou87_260_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc AS EM_Aeat88_260_, invoice0_.EM_Ml_Select_Product AS EM_Ml_S89_260_, invoice0_.EM_Prouti_Pricecalculatetdate AS EM_Prou90_260_, invoice0_.EM_Aeatsii_Tipo_Rectif AS EM_Aeat91_260_, invoice0_.EM_Prouti_Totalizations AS EM_Prou92_260_, invoice0_.EM_Aeatsii_Dua AS EM_Aeat93_260_, invoice0_.EM_Aeatsii_Fecha_Dua AS EM_Aeat94_260_, invoice0_.EM_Aeatsii_Estado AS EM_Aeat95_260_, invoice0_.EM_Aeatsii_Error_Registral AS EM_Aeat96_260_, invoice0_.EM_Aeatsii_Modif AS EM_Aeat97_260_, invoice0_.EM_Aeatsii_Modified AS EM_Aeat98_260_, invoice0_.EM_Aeatsii_Description_ID AS EM_Aeat99_260_, invoice0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea100_260_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont AS EM_Aea101_260_, invoice0_.EM_Aeatsii_Dup AS EM_Aea102_260_, invoice0_.EM_Aeatsii_Error_Code AS EM_Aea103_260_, invoice0_.EM_Aeatsii_Error_Msg AS EM_Aea104_260_, invoice0_.EM_Aeatsii_Unsubscribe AS EM_Aea105_260_, invoice0_.EM_Aeatsii_Pur_Description_ID AS EM_Aea106_260_, invoice0_.EM_Aeatsii_Multi_Dua AS EM_Aea107_260_, invoice0_.EM_Aeatsii_Ejercicio AS EM_Aea108_260_, invoice0_.EM_Aeatsii_Periodo AS EM_Aea109_260_, invoice0_.EM_Aeatsii_Autofactura AS EM_Aea110_260_, invoice0_.EM_Aeatsii_Invoice_ID AS EM_Aea111_260_, invoice0_.EM_Aeatsii_Insiidate AS EM_Aea112_260_, invoice0_.EM_Aeatsii_Cause_Exemption_ID AS EM_Aea113_260_, invoice0_.EM_Aeatsii_Isauthorization AS EM_Aea114_260_, invoice0_.EM_Aeatsii_Authorizationno AS EM_Aea115_260_, invoice0_.EM_Priuti_Createpurchinv AS EM_Pri116_260_, invoice0_.EM_Priuti_Generated AS EM_Pri117_260_, invoice0_.EM_Priuti_Date_Complete AS EM_Pri118_260_, invoice0_.EM_Prges_Expediente_ID AS EM_Prg119_260_, invoice0_.EM_Priuti_User_Complete_ID AS EM_Pri120_260_, invoice0_.EM_Prges_Annotation_ID AS EM_Prg121_260_, invoice0_.EM_Prges_Record_Number AS EM_Prg122_260_, invoice0_.EM_Priuti_Status_Of_Review AS EM_Pri123_260_, invoice0_.EM_Prges_Grantotal AS EM_Prg124_260_, invoice0_.EM_Priuti_Validate AS EM_Pri125_260_, invoice0_.EM_Priuti_Start_Review AS EM_Pri126_260_, invoice0_.EM_Prges_Poreference AS EM_Prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM C_Invoice invoice0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON invoice0_.C_BPartner_ID = businesspa1_.C_BPartner_ID WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%16058%') ESCAPE '|') AND (upper ((businesspa1_.Value || ' - ' || businesspa1_.Name || ' - ' || COALESCE (to_char (businesspa1_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa1_.Name2), ''))) LIKE upper ('%TUI%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY invoice0_.C_Invoice_ID DESC LIMIT '101';
Date: 2026-07-15 12:18:20 Duration: 14s456ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:17:56 Duration: 12s519ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:17:56 Duration: 11s453ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 17 12m13s 41s224ms 45s175ms 43s127ms SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE EXISTS ( SELECT 0 FROM c_invoice invoice1_ INNER JOIN c_bpartner businesspa2_ ON invoice1_.c_bpartner_id = businesspa2_.c_bpartner_id WHERE (upper ((invoice1_.documentno || '' || COALESCE (to_char (invoice1_.dateinvoiced), '') || '' || COALESCE (to_char (invoice1_.grandtotal), ''))) LIKE upper ('') ESCAPE '') AND businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id AND (invoice1_.ad_org_id IN (...)) AND (invoice1_.ad_client_id IN (...))) ORDER BY businesspa0_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 15 08 5 3m34s 42s963ms 10 4 2m53s 43s452ms 11 3 2m8s 42s818ms 12 2 1m27s 43s888ms 13 3 2m8s 42s768ms [ User: tad - Total duration: 12m13s - Times executed: 17 ]
[ Application: openbravo - Total duration: 12m13s - Times executed: 17 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE (upper ((invoice1_.DocumentNo || ' - ' || COALESCE (to_char (invoice1_.DateInvoiced), '') || ' - ' || COALESCE (to_char (invoice1_.GrandTotal), ''))) LIKE upper ('%7.7%radio%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE (upper ((invoice1_.DocumentNo || ' - ' || COALESCE (to_char (invoice1_.DateInvoiced), '') || ' - ' || COALESCE (to_char (invoice1_.GrandTotal), ''))) LIKE upper ('%OKHURRA%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE (upper ((invoice1_.DocumentNo || ' - ' || COALESCE (to_char (invoice1_.DateInvoiced), '') || ' - ' || COALESCE (to_char (invoice1_.GrandTotal), ''))) LIKE upper ('%armas%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 10:49:41 Duration: 45s175ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:40:25 Duration: 44s336ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:32:04 Duration: 44s128ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 17 2m31s 8s581ms 10s568ms 8s932ms SELECT sum (invoice0_.grandtotal) AS col_0_0_, sum (invoice0_.totalpaid) AS col_1_0_, sum (invoice0_.outstandingamt) AS col_2_0_ FROM c_invoice invoice0_ WHERE invoice0_.issotrx = '' AND invoice0_.docstatus <> '' AND (invoice0_.ad_org_id IN (...)) AND (invoice0_.ad_client_id IN (...)) LIMIT '';Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 15 12 17 2m31s 8s932ms [ User: tad - Total duration: 2m31s - Times executed: 17 ]
[ Application: openbravo - Total duration: 2m31s - Times executed: 17 ]
-
SELECT sum (invoice0_.GrandTotal) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_, sum (invoice0_.OutstandingAmt) AS col_2_0_ FROM C_Invoice invoice0_ WHERE invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.GrandTotal) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_, sum (invoice0_.OutstandingAmt) AS col_2_0_ FROM C_Invoice invoice0_ WHERE invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.GrandTotal) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_, sum (invoice0_.OutstandingAmt) AS col_2_0_ FROM C_Invoice invoice0_ WHERE invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
Date: 2026-07-15 12:11:14 Duration: 10s568ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:11:30 Duration: 9s62ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:11:30 Duration: 9s24ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 16 1m50s 5s521ms 12s760ms 6s903ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ INNER JOIN m_warehouse warehouse1_ ON order0_.m_warehouse_id = warehouse1_.m_warehouse_id CROSS JOIN c_doctype documentty2_ WHERE order0_.c_doctypetarget_id = documentty2_.c_doctype_id AND order0_.issotrx = '' AND documentty2_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY warehouse1_.name DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 15 08 3 17s375ms 5s791ms 09 1 12s760ms 12s760ms 10 2 11s158ms 5s579ms 11 1 5s736ms 5s736ms 12 5 29s924ms 5s984ms 13 4 33s498ms 8s374ms [ User: tad - Total duration: 1m50s - Times executed: 16 ]
[ Application: openbravo - Total duration: 1m50s - Times executed: 16 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ INNER JOIN M_Warehouse warehouse1_ ON order0_.M_Warehouse_ID = warehouse1_.M_Warehouse_ID CROSS JOIN C_DocType documentty2_ WHERE order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty2_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 09:49:40.916' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY warehouse1_.Name DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ INNER JOIN M_Warehouse warehouse1_ ON order0_.M_Warehouse_ID = warehouse1_.M_Warehouse_ID CROSS JOIN C_DocType documentty2_ WHERE order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty2_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 13:21:28.804' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY warehouse1_.Name DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ INNER JOIN M_Warehouse warehouse1_ ON order0_.M_Warehouse_ID = warehouse1_.M_Warehouse_ID CROSS JOIN C_DocType documentty2_ WHERE order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty2_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 13:51:17.894' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY warehouse1_.Name DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 09:49:53 Duration: 12s760ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:21:39 Duration: 10s693ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:51:28 Duration: 10s686ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 15 2m4s 7s644ms 10s356ms 8s267ms SELECT sum (invoice0_.outstandingamt) AS col_0_0_, sum (invoice0_.totalpaid) AS col_1_0_ FROM c_invoice invoice0_ WHERE (upper (invoice0_.documentno) LIKE upper ('') ESCAPE '') AND invoice0_.issotrx = '' AND invoice0_.docstatus <> '' AND (invoice0_.ad_org_id IN (...)) AND (invoice0_.ad_client_id IN (...)) LIMIT '';Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 15 09 10 1m20s 8s70ms 10 5 43s304ms 8s660ms [ User: tad - Total duration: 2m4s - Times executed: 15 ]
[ Application: openbravo - Total duration: 2m4s - Times executed: 15 ]
-
SELECT sum (invoice0_.OutstandingAmt) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_ FROM C_Invoice invoice0_ WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1645192%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.OutstandingAmt) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_ FROM C_Invoice invoice0_ WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1645192%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.OutstandingAmt) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_ FROM C_Invoice invoice0_ WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1645039%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
Date: 2026-07-15 10:49:10 Duration: 10s356ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:49:14 Duration: 9s118ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:29:28 Duration: 8s690ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 15 3m22s 6s313ms 41s123ms 13s480ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ WHERE (upper ((order0_.documentno || '' || COALESCE (to_char (order0_.dateordered), '') || '' || COALESCE (to_char (order0_.grandtotal), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM m_inout materialmg1_ INNER JOIN c_order order2_ ON materialmg1_.c_order_id = order2_.c_order_id CROSS JOIN c_doctype documentty3_ WHERE materialmg1_.c_doctype_id = documentty3_.c_doctype_id AND (materialmg1_.movementtype IN (...)) AND materialmg1_.islogistic = '' AND documentty3_.isreturn = '' AND order2_.c_order_id = order0_.c_order_id AND (materialmg1_.ad_org_id IN (...)) AND (materialmg1_.ad_client_id IN (...)))) ORDER BY order0_.documentno, order0_.dateordered, order0_.grandtotal LIMIT '' OFFSET '';Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 15 09 3 1m28s 29s356ms 10 2 47s581ms 23s790ms 13 10 1m6s 6s655ms [ User: tad - Total duration: 3m22s - Times executed: 15 ]
[ Application: openbravo - Total duration: 3m22s - Times executed: 15 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%091-0058489%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '75' OFFSET '38';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%040-1372571%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '75' OFFSET '38';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%091-0058504%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '75' OFFSET '38';
Date: 2026-07-15 09:15:30 Duration: 41s123ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:42:47 Duration: 41s27ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:22:44 Duration: 40s633ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 15 1m46s 5s626ms 13s191ms 7s124ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.documentno DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 15 11 6 43s39ms 7s173ms 12 5 35s36ms 7s7ms 13 1 5s853ms 5s853ms 14 3 22s934ms 7s644ms [ User: tad - Total duration: 1m46s - Times executed: 15 ]
[ Application: openbravo - Total duration: 1m46s - Times executed: 15 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 11:34:34.949' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 12:19:49.591' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 14:52:55.852' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 11:34:48 Duration: 13s191ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:20:01 Duration: 11s426ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 14:53:07 Duration: 11s341ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 13 1m38s 5s2ms 11s994ms 7s600ms SELECT obpos_appl0_.obpos_applications_id AS obpos_ap1_706_, obpos_appl0_.ad_client_id AS ad_clien2_706_, obpos_appl0_.ad_org_id AS ad_org_i3_706_, obpos_appl0_.isactive AS isactive4_706_, obpos_appl0_.created AS created5_706_, obpos_appl0_.createdby AS createdb6_706_, obpos_appl0_.updated AS updated7_706_, obpos_appl0_.updatedby AS updatedb8_706_, obpos_appl0_.value AS value9_706_, obpos_appl0_.name AS name10_706_, obpos_appl0_.hardwareurl AS hardwar11_706_, obpos_appl0_.scaleurl AS scaleur12_706_, obpos_appl0_.orderdocno_prefix AS orderdo13_706_, obpos_appl0_.obpos_terminaltype_id AS obpos_t14_706_, obpos_appl0_.quotationdocno_prefix AS quotati15_706_, obpos_appl0_.defaultwebpostab AS default16_706_, obpos_appl0_.c_bpartner_id AS c_bpart17_706_, obpos_appl0_.obpos_c_bpartner_loc_id AS obpos_c18_706_, obpos_appl0_.printoffline AS printof19_706_, obpos_appl0_.em_obposcs_copy_terminal AS em_obpo20_706_, obpos_appl0_.terminal_key_id AS termina21_706_, obpos_appl0_.islinked AS islinke22_706_, obpos_appl0_.unlinkdevice AS unlinkd23_706_, obpos_appl0_.lastassignednum AS lastass24_706_, obpos_appl0_.ismaster AS ismaste25_706_, obpos_appl0_.masterterminal_id AS mastert26_706_, obpos_appl0_.quotationslastassignednum AS quotati27_706_, obpos_appl0_.current_cache_session_id AS current28_706_, obpos_appl0_.returndocno_prefix AS returnd29_706_, obpos_appl0_.returnslastassignednum AS returns30_706_, obpos_appl0_.terminal_lastincrefresh AS termina31_706_, obpos_appl0_.terminal_lastfullrefresh AS termina32_706_, obpos_appl0_.terminal_lastcachegeneration AS termina33_706_, obpos_appl0_.terminal_lastjsgeneration AS termina34_706_, obpos_appl0_.openhardwareurl AS openhar35_706_, obpos_appl0_.terminal_lastlogindate AS termina36_706_, obpos_appl0_.terminal_lastloginuser AS termina37_706_, obpos_appl0_.terminal_lastbenchmark AS termina38_706_, obpos_appl0_.terminal_lastordersynchronized AS termina39_706_, obpos_appl0_.terminal_lastcashupcompleted AS termina40_706_, obpos_appl0_.terminal_lastticketloaded AS termina41_706_, obpos_appl0_.terminal_lasttimeinoffline AS termina42_706_, obpos_appl0_.terminal_lasttimeinonline AS termina43_706_, obpos_appl0_.documentno_padding AS documen44_706_, obpos_appl0_.terminal_lasthwmversion AS termina45_706_, obpos_appl0_.terminal_lasthwmrevision AS termina46_706_, obpos_appl0_.terminal_lasthwmjavainfo AS termina47_706_, obpos_appl0_.printertype AS printer48_706_, obpos_appl0_.em_prpass_autovalidation AS em_prpa49_706_, obpos_appl0_.em_fstbrw_config_id AS em_fstb50_706_, obpos_appl0_.simpinvdocno_prefix AS simpinv51_706_, obpos_appl0_.em_prres_ask_responsible AS em_prre52_706_, obpos_appl0_.simpinvlastassignednum AS simpinv53_706_, obpos_appl0_.em_prres_res_loc_selection AS em_prre54_706_, obpos_appl0_.fullinvdocno_prefix AS fullinv55_706_, obpos_appl0_.em_prres_bill_printer AS em_prre56_706_, obpos_appl0_.fullinvlastassignednum AS fullinv57_706_, obpos_appl0_.em_prpass_no_print_ticket AS em_prpa58_706_, obpos_appl0_.simpretinvdocno_prefix AS simpret59_706_, obpos_appl0_.simpretinvlastassignednum AS simpret60_706_, obpos_appl0_.fullretinvdocno_prefix AS fullret61_706_, obpos_appl0_.fullretinvlastassignednum AS fullret62_706_ FROM obpos_applications obpos_appl0_ WHERE EXISTS ( SELECT 0 FROM c_order order1_ INNER JOIN obpos_applications obpos_appl2_ ON order1_.em_obpos_applications_id = obpos_appl2_.obpos_applications_id CROSS JOIN c_doctype documentty4_ WHERE order1_.c_doctypetarget_id = documentty4_.c_doctype_id AND (upper (obpos_appl2_.name) LIKE upper ('') ESCAPE '') AND order1_.issotrx = '' AND documentty4_.isreturn = '' AND (documentty4_.docsubtypeso NOT LIKE '') AND obpos_appl2_.obpos_applications_id = obpos_appl0_.obpos_applications_id AND (order1_.ad_org_id IN (...)) AND (order1_.ad_client_id IN (...))) ORDER BY obpos_appl0_.name LIMIT '';Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 15 10 5 31s884ms 6s376ms 13 8 1m6s 8s364ms [ User: tad - Total duration: 1m38s - Times executed: 13 ]
[ Application: openbravo - Total duration: 1m38s - Times executed: 13 ]
-
SELECT obpos_appl0_.Obpos_Applications_ID AS Obpos_Ap1_706_, obpos_appl0_.AD_Client_ID AS AD_Clien2_706_, obpos_appl0_.AD_Org_ID AS AD_Org_I3_706_, obpos_appl0_.Isactive AS Isactive4_706_, obpos_appl0_.Created AS Created5_706_, obpos_appl0_.Createdby AS Createdb6_706_, obpos_appl0_.Updated AS Updated7_706_, obpos_appl0_.Updatedby AS Updatedb8_706_, obpos_appl0_.Value AS Value9_706_, obpos_appl0_.Name AS Name10_706_, obpos_appl0_.Hardwareurl AS Hardwar11_706_, obpos_appl0_.Scaleurl AS Scaleur12_706_, obpos_appl0_.Orderdocno_Prefix AS Orderdo13_706_, obpos_appl0_.Obpos_Terminaltype_ID AS Obpos_T14_706_, obpos_appl0_.Quotationdocno_Prefix AS Quotati15_706_, obpos_appl0_.Defaultwebpostab AS Default16_706_, obpos_appl0_.C_Bpartner_ID AS C_Bpart17_706_, obpos_appl0_.Obpos_C_Bpartner_Loc_ID AS Obpos_C18_706_, obpos_appl0_.Printoffline AS Printof19_706_, obpos_appl0_.EM_Obposcs_Copy_Terminal AS EM_Obpo20_706_, obpos_appl0_.Terminal_Key_ID AS Termina21_706_, obpos_appl0_.Islinked AS Islinke22_706_, obpos_appl0_.Unlinkdevice AS Unlinkd23_706_, obpos_appl0_.Lastassignednum AS Lastass24_706_, obpos_appl0_.Ismaster AS Ismaste25_706_, obpos_appl0_.Masterterminal_ID AS Mastert26_706_, obpos_appl0_.Quotationslastassignednum AS Quotati27_706_, obpos_appl0_.Current_Cache_Session_ID AS Current28_706_, obpos_appl0_.Returndocno_Prefix AS Returnd29_706_, obpos_appl0_.Returnslastassignednum AS Returns30_706_, obpos_appl0_.Terminal_Lastincrefresh AS Termina31_706_, obpos_appl0_.Terminal_Lastfullrefresh AS Termina32_706_, obpos_appl0_.Terminal_Lastcachegeneration AS Termina33_706_, obpos_appl0_.Terminal_Lastjsgeneration AS Termina34_706_, obpos_appl0_.OPENHARDWAREURL AS OPENHAR35_706_, obpos_appl0_.Terminal_Lastlogindate AS Termina36_706_, obpos_appl0_.Terminal_Lastloginuser AS Termina37_706_, obpos_appl0_.Terminal_Lastbenchmark AS Termina38_706_, obpos_appl0_.Terminal_Lastordersynchronized AS Termina39_706_, obpos_appl0_.Terminal_Lastcashupcompleted AS Termina40_706_, obpos_appl0_.Terminal_Lastticketloaded AS Termina41_706_, obpos_appl0_.Terminal_Lasttimeinoffline AS Termina42_706_, obpos_appl0_.Terminal_Lasttimeinonline AS Termina43_706_, obpos_appl0_.Documentno_Padding AS Documen44_706_, obpos_appl0_.Terminal_Lasthwmversion AS Termina45_706_, obpos_appl0_.Terminal_Lasthwmrevision AS Termina46_706_, obpos_appl0_.Terminal_Lasthwmjavainfo AS Termina47_706_, obpos_appl0_.Printertype AS Printer48_706_, obpos_appl0_.EM_Prpass_Autovalidation AS EM_Prpa49_706_, obpos_appl0_.EM_Fstbrw_Config_ID AS EM_Fstb50_706_, obpos_appl0_.Simpinvdocno_Prefix AS Simpinv51_706_, obpos_appl0_.EM_Prres_Ask_Responsible AS EM_Prre52_706_, obpos_appl0_.Simpinvlastassignednum AS Simpinv53_706_, obpos_appl0_.EM_Prres_Res_Loc_Selection AS EM_Prre54_706_, obpos_appl0_.Fullinvdocno_Prefix AS Fullinv55_706_, obpos_appl0_.EM_Prres_Bill_Printer AS EM_Prre56_706_, obpos_appl0_.Fullinvlastassignednum AS Fullinv57_706_, obpos_appl0_.EM_Prpass_No_Print_Ticket AS EM_Prpa58_706_, obpos_appl0_.Simpretinvdocno_Prefix AS Simpret59_706_, obpos_appl0_.Simpretinvlastassignednum AS Simpret60_706_, obpos_appl0_.Fullretinvdocno_Prefix AS Fullret61_706_, obpos_appl0_.Fullretinvlastassignednum AS Fullret62_706_ FROM OBPOS_APPLICATIONS obpos_appl0_ WHERE EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN OBPOS_APPLICATIONS obpos_appl2_ ON order1_.EM_Obpos_Applications_ID = obpos_appl2_.Obpos_Applications_ID CROSS JOIN C_DocType documentty4_ WHERE order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID AND (upper (obpos_appl2_.Name) LIKE upper ('%m%') ESCAPE '|') AND order1_.IsSOTrx = 'Y' AND documentty4_.IsReturn = 'N' AND (documentty4_.DocSubTypeSO NOT LIKE 'OB') AND obpos_appl2_.Obpos_Applications_ID = obpos_appl0_.Obpos_Applications_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY obpos_appl0_.Name LIMIT '76';
-
SELECT obpos_appl0_.Obpos_Applications_ID AS Obpos_Ap1_706_, obpos_appl0_.AD_Client_ID AS AD_Clien2_706_, obpos_appl0_.AD_Org_ID AS AD_Org_I3_706_, obpos_appl0_.Isactive AS Isactive4_706_, obpos_appl0_.Created AS Created5_706_, obpos_appl0_.Createdby AS Createdb6_706_, obpos_appl0_.Updated AS Updated7_706_, obpos_appl0_.Updatedby AS Updatedb8_706_, obpos_appl0_.Value AS Value9_706_, obpos_appl0_.Name AS Name10_706_, obpos_appl0_.Hardwareurl AS Hardwar11_706_, obpos_appl0_.Scaleurl AS Scaleur12_706_, obpos_appl0_.Orderdocno_Prefix AS Orderdo13_706_, obpos_appl0_.Obpos_Terminaltype_ID AS Obpos_T14_706_, obpos_appl0_.Quotationdocno_Prefix AS Quotati15_706_, obpos_appl0_.Defaultwebpostab AS Default16_706_, obpos_appl0_.C_Bpartner_ID AS C_Bpart17_706_, obpos_appl0_.Obpos_C_Bpartner_Loc_ID AS Obpos_C18_706_, obpos_appl0_.Printoffline AS Printof19_706_, obpos_appl0_.EM_Obposcs_Copy_Terminal AS EM_Obpo20_706_, obpos_appl0_.Terminal_Key_ID AS Termina21_706_, obpos_appl0_.Islinked AS Islinke22_706_, obpos_appl0_.Unlinkdevice AS Unlinkd23_706_, obpos_appl0_.Lastassignednum AS Lastass24_706_, obpos_appl0_.Ismaster AS Ismaste25_706_, obpos_appl0_.Masterterminal_ID AS Mastert26_706_, obpos_appl0_.Quotationslastassignednum AS Quotati27_706_, obpos_appl0_.Current_Cache_Session_ID AS Current28_706_, obpos_appl0_.Returndocno_Prefix AS Returnd29_706_, obpos_appl0_.Returnslastassignednum AS Returns30_706_, obpos_appl0_.Terminal_Lastincrefresh AS Termina31_706_, obpos_appl0_.Terminal_Lastfullrefresh AS Termina32_706_, obpos_appl0_.Terminal_Lastcachegeneration AS Termina33_706_, obpos_appl0_.Terminal_Lastjsgeneration AS Termina34_706_, obpos_appl0_.OPENHARDWAREURL AS OPENHAR35_706_, obpos_appl0_.Terminal_Lastlogindate AS Termina36_706_, obpos_appl0_.Terminal_Lastloginuser AS Termina37_706_, obpos_appl0_.Terminal_Lastbenchmark AS Termina38_706_, obpos_appl0_.Terminal_Lastordersynchronized AS Termina39_706_, obpos_appl0_.Terminal_Lastcashupcompleted AS Termina40_706_, obpos_appl0_.Terminal_Lastticketloaded AS Termina41_706_, obpos_appl0_.Terminal_Lasttimeinoffline AS Termina42_706_, obpos_appl0_.Terminal_Lasttimeinonline AS Termina43_706_, obpos_appl0_.Documentno_Padding AS Documen44_706_, obpos_appl0_.Terminal_Lasthwmversion AS Termina45_706_, obpos_appl0_.Terminal_Lasthwmrevision AS Termina46_706_, obpos_appl0_.Terminal_Lasthwmjavainfo AS Termina47_706_, obpos_appl0_.Printertype AS Printer48_706_, obpos_appl0_.EM_Prpass_Autovalidation AS EM_Prpa49_706_, obpos_appl0_.EM_Fstbrw_Config_ID AS EM_Fstb50_706_, obpos_appl0_.Simpinvdocno_Prefix AS Simpinv51_706_, obpos_appl0_.EM_Prres_Ask_Responsible AS EM_Prre52_706_, obpos_appl0_.Simpinvlastassignednum AS Simpinv53_706_, obpos_appl0_.EM_Prres_Res_Loc_Selection AS EM_Prre54_706_, obpos_appl0_.Fullinvdocno_Prefix AS Fullinv55_706_, obpos_appl0_.EM_Prres_Bill_Printer AS EM_Prre56_706_, obpos_appl0_.Fullinvlastassignednum AS Fullinv57_706_, obpos_appl0_.EM_Prpass_No_Print_Ticket AS EM_Prpa58_706_, obpos_appl0_.Simpretinvdocno_Prefix AS Simpret59_706_, obpos_appl0_.Simpretinvlastassignednum AS Simpret60_706_, obpos_appl0_.Fullretinvdocno_Prefix AS Fullret61_706_, obpos_appl0_.Fullretinvlastassignednum AS Fullret62_706_ FROM OBPOS_APPLICATIONS obpos_appl0_ WHERE EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN OBPOS_APPLICATIONS obpos_appl2_ ON order1_.EM_Obpos_Applications_ID = obpos_appl2_.Obpos_Applications_ID CROSS JOIN C_DocType documentty4_ WHERE order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID AND (upper (obpos_appl2_.Name) LIKE upper ('%mo%') ESCAPE '|') AND order1_.IsSOTrx = 'Y' AND documentty4_.IsReturn = 'N' AND (documentty4_.DocSubTypeSO NOT LIKE 'OB') AND obpos_appl2_.Obpos_Applications_ID = obpos_appl0_.Obpos_Applications_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY obpos_appl0_.Name LIMIT '76';
-
SELECT obpos_appl0_.Obpos_Applications_ID AS Obpos_Ap1_706_, obpos_appl0_.AD_Client_ID AS AD_Clien2_706_, obpos_appl0_.AD_Org_ID AS AD_Org_I3_706_, obpos_appl0_.Isactive AS Isactive4_706_, obpos_appl0_.Created AS Created5_706_, obpos_appl0_.Createdby AS Createdb6_706_, obpos_appl0_.Updated AS Updated7_706_, obpos_appl0_.Updatedby AS Updatedb8_706_, obpos_appl0_.Value AS Value9_706_, obpos_appl0_.Name AS Name10_706_, obpos_appl0_.Hardwareurl AS Hardwar11_706_, obpos_appl0_.Scaleurl AS Scaleur12_706_, obpos_appl0_.Orderdocno_Prefix AS Orderdo13_706_, obpos_appl0_.Obpos_Terminaltype_ID AS Obpos_T14_706_, obpos_appl0_.Quotationdocno_Prefix AS Quotati15_706_, obpos_appl0_.Defaultwebpostab AS Default16_706_, obpos_appl0_.C_Bpartner_ID AS C_Bpart17_706_, obpos_appl0_.Obpos_C_Bpartner_Loc_ID AS Obpos_C18_706_, obpos_appl0_.Printoffline AS Printof19_706_, obpos_appl0_.EM_Obposcs_Copy_Terminal AS EM_Obpo20_706_, obpos_appl0_.Terminal_Key_ID AS Termina21_706_, obpos_appl0_.Islinked AS Islinke22_706_, obpos_appl0_.Unlinkdevice AS Unlinkd23_706_, obpos_appl0_.Lastassignednum AS Lastass24_706_, obpos_appl0_.Ismaster AS Ismaste25_706_, obpos_appl0_.Masterterminal_ID AS Mastert26_706_, obpos_appl0_.Quotationslastassignednum AS Quotati27_706_, obpos_appl0_.Current_Cache_Session_ID AS Current28_706_, obpos_appl0_.Returndocno_Prefix AS Returnd29_706_, obpos_appl0_.Returnslastassignednum AS Returns30_706_, obpos_appl0_.Terminal_Lastincrefresh AS Termina31_706_, obpos_appl0_.Terminal_Lastfullrefresh AS Termina32_706_, obpos_appl0_.Terminal_Lastcachegeneration AS Termina33_706_, obpos_appl0_.Terminal_Lastjsgeneration AS Termina34_706_, obpos_appl0_.OPENHARDWAREURL AS OPENHAR35_706_, obpos_appl0_.Terminal_Lastlogindate AS Termina36_706_, obpos_appl0_.Terminal_Lastloginuser AS Termina37_706_, obpos_appl0_.Terminal_Lastbenchmark AS Termina38_706_, obpos_appl0_.Terminal_Lastordersynchronized AS Termina39_706_, obpos_appl0_.Terminal_Lastcashupcompleted AS Termina40_706_, obpos_appl0_.Terminal_Lastticketloaded AS Termina41_706_, obpos_appl0_.Terminal_Lasttimeinoffline AS Termina42_706_, obpos_appl0_.Terminal_Lasttimeinonline AS Termina43_706_, obpos_appl0_.Documentno_Padding AS Documen44_706_, obpos_appl0_.Terminal_Lasthwmversion AS Termina45_706_, obpos_appl0_.Terminal_Lasthwmrevision AS Termina46_706_, obpos_appl0_.Terminal_Lasthwmjavainfo AS Termina47_706_, obpos_appl0_.Printertype AS Printer48_706_, obpos_appl0_.EM_Prpass_Autovalidation AS EM_Prpa49_706_, obpos_appl0_.EM_Fstbrw_Config_ID AS EM_Fstb50_706_, obpos_appl0_.Simpinvdocno_Prefix AS Simpinv51_706_, obpos_appl0_.EM_Prres_Ask_Responsible AS EM_Prre52_706_, obpos_appl0_.Simpinvlastassignednum AS Simpinv53_706_, obpos_appl0_.EM_Prres_Res_Loc_Selection AS EM_Prre54_706_, obpos_appl0_.Fullinvdocno_Prefix AS Fullinv55_706_, obpos_appl0_.EM_Prres_Bill_Printer AS EM_Prre56_706_, obpos_appl0_.Fullinvlastassignednum AS Fullinv57_706_, obpos_appl0_.EM_Prpass_No_Print_Ticket AS EM_Prpa58_706_, obpos_appl0_.Simpretinvdocno_Prefix AS Simpret59_706_, obpos_appl0_.Simpretinvlastassignednum AS Simpret60_706_, obpos_appl0_.Fullretinvdocno_Prefix AS Fullret61_706_, obpos_appl0_.Fullretinvlastassignednum AS Fullret62_706_ FROM OBPOS_APPLICATIONS obpos_appl0_ WHERE EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN OBPOS_APPLICATIONS obpos_appl2_ ON order1_.EM_Obpos_Applications_ID = obpos_appl2_.Obpos_Applications_ID CROSS JOIN C_DocType documentty4_ WHERE order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID AND (upper (obpos_appl2_.Name) LIKE upper ('%m%') ESCAPE '|') AND order1_.IsSOTrx = 'Y' AND documentty4_.IsReturn = 'N' AND (documentty4_.DocSubTypeSO NOT LIKE 'OB') AND obpos_appl2_.Obpos_Applications_ID = obpos_appl0_.Obpos_Applications_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY obpos_appl0_.Name LIMIT '76';
Date: 2026-07-15 13:30:54 Duration: 11s994ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:30:54 Duration: 11s99ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:31:37 Duration: 10s796ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 12 1m43s 5s465ms 32s887ms 8s600ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.documentno, order0_.c_order_id LIMIT '';Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 15 07 1 6s30ms 6s30ms 08 1 32s887ms 32s887ms 09 4 23s537ms 5s884ms 10 2 15s942ms 7s971ms 11 2 11s799ms 5s899ms 12 1 7s64ms 7s64ms 14 1 5s945ms 5s945ms [ User: tad - Total duration: 1m43s - Times executed: 12 ]
[ Application: openbravo - Total duration: 1m43s - Times executed: 12 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 08:39:46.994' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo, order0_.C_Order_ID LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 10:20:17.284' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo, order0_.C_Order_ID LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 12:44:58.082' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo, order0_.C_Order_ID LIMIT '101';
Date: 2026-07-15 08:40:19 Duration: 32s887ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:20:27 Duration: 10s170ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:45:05 Duration: 7s64ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 12 1m32s 7s375ms 8s394ms 7s720ms SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND (upper (order0_.deliverynotes) LIKE upper ('') ESCAPE '') AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.datepromised DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 15 08 6 45s427ms 7s571ms 09 6 47s223ms 7s870ms [ User: tad - Total duration: 1m32s - Times executed: 12 ]
[ Application: openbravo - Total duration: 1m32s - Times executed: 12 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND (upper (order0_.Deliverynotes) LIKE upper ('%sol%') ESCAPE '|') AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND (upper (order0_.Deliverynotes) LIKE upper ('%s%') ESCAPE '|') AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND (upper (order0_.Deliverynotes) LIKE upper ('%font%') ESCAPE '|') AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 09:00:59 Duration: 8s394ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:00:58 Duration: 8s70ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:14:35 Duration: 7s951ms Database: openbravo 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 42s601ms 46s281ms 44s45ms 27 19m49s SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE EXISTS ( SELECT 0 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_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 15 07 1 42s857ms 42s857ms 08 7 5m5s 43s690ms 09 2 1m25s 42s683ms 10 2 1m30s 45s104ms 11 5 3m39s 43s829ms 12 8 5m55s 44s391ms 13 2 1m30s 45s336ms [ User: tad - Total duration: 19m49s - Times executed: 27 ]
[ Application: openbravo - Total duration: 19m49s - Times executed: 27 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%SUCES%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%tara%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ 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 ('%ALAN%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 13:30:50 Duration: 46s281ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:16:32 Duration: 45s732ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:45:56 Duration: 45s483ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
2 42s647ms 45s225ms 43s795ms 22 16m3s SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ WHERE EXISTS ( SELECT 0 FROM m_inout materialmg1_ LEFT OUTER JOIN c_bpartner businesspa2_ ON materialmg1_.c_bpartner_id = businesspa2_.c_bpartner_id INNER JOIN c_order order3_ ON materialmg1_.c_order_id = order3_.c_order_id WHERE (upper ((materialmg1_.documentno || '' || COALESCE (to_char (materialmg1_.movementdate), '') || '' || (businesspa2_.value || '' || businesspa2_.name || '' || COALESCE (to_char (businesspa2_.taxid), '') || '' || COALESCE (to_char (businesspa2_.name2), '')))) LIKE upper ('') ESCAPE '') AND order3_.c_order_id = order0_.c_order_id AND (materialmg1_.ad_org_id IN (...)) AND (materialmg1_.ad_client_id IN (...))) ORDER BY order0_.documentno, order0_.dateordered, order0_.grandtotal LIMIT '';Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 15 08 1 44s282ms 44s282ms 09 5 3m38s 43s742ms 10 3 2m10s 43s370ms 11 1 43s867ms 43s867ms 12 2 1m29s 44s589ms 13 10 7m17s 43s733ms [ User: tad - Total duration: 16m3s - Times executed: 22 ]
[ Application: openbravo - Total duration: 16m3s - Times executed: 22 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%16429%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%091-0058504%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE EXISTS ( SELECT 1 FROM M_InOut materialmg1_ LEFT OUTER JOIN C_BPartner businesspa2_ ON materialmg1_.C_BPartner_ID = businesspa2_.C_BPartner_ID INNER JOIN C_Order order3_ ON materialmg1_.C_Order_ID = order3_.C_Order_ID WHERE (upper ((materialmg1_.DocumentNo || ' - ' || COALESCE (to_char (materialmg1_.MovementDate), '') || ' - ' || (businesspa2_.Value || ' - ' || businesspa2_.Name || ' - ' || COALESCE (to_char (businesspa2_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa2_.Name2), '')))) LIKE upper ('%14868%') ESCAPE '|') AND order3_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
Date: 2026-07-15 12:43:23 Duration: 45s225ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:23:29 Duration: 45s111ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:40:41 Duration: 44s282ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
3 41s224ms 45s175ms 43s127ms 17 12m13s SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE EXISTS ( SELECT 0 FROM c_invoice invoice1_ INNER JOIN c_bpartner businesspa2_ ON invoice1_.c_bpartner_id = businesspa2_.c_bpartner_id WHERE (upper ((invoice1_.documentno || '' || COALESCE (to_char (invoice1_.dateinvoiced), '') || '' || COALESCE (to_char (invoice1_.grandtotal), ''))) LIKE upper ('') ESCAPE '') AND businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id AND (invoice1_.ad_org_id IN (...)) AND (invoice1_.ad_client_id IN (...))) ORDER BY businesspa0_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 15 08 5 3m34s 42s963ms 10 4 2m53s 43s452ms 11 3 2m8s 42s818ms 12 2 1m27s 43s888ms 13 3 2m8s 42s768ms [ User: tad - Total duration: 12m13s - Times executed: 17 ]
[ Application: openbravo - Total duration: 12m13s - Times executed: 17 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE (upper ((invoice1_.DocumentNo || ' - ' || COALESCE (to_char (invoice1_.DateInvoiced), '') || ' - ' || COALESCE (to_char (invoice1_.GrandTotal), ''))) LIKE upper ('%7.7%radio%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE (upper ((invoice1_.DocumentNo || ' - ' || COALESCE (to_char (invoice1_.DateInvoiced), '') || ' - ' || COALESCE (to_char (invoice1_.GrandTotal), ''))) LIKE upper ('%OKHURRA%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE (upper ((invoice1_.DocumentNo || ' - ' || COALESCE (to_char (invoice1_.DateInvoiced), '') || ' - ' || COALESCE (to_char (invoice1_.GrandTotal), ''))) LIKE upper ('%armas%') ESCAPE '|') AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 10:49:41 Duration: 45s175ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:40:25 Duration: 44s336ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:32:04 Duration: 44s128ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
4 6s529ms 2m2s 23s395ms 75 29m14s SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ WHERE (upper ((order0_.documentno || '' || COALESCE (to_char (order0_.dateordered), '') || '' || COALESCE (to_char (order0_.grandtotal), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM m_inout materialmg1_ INNER JOIN c_order order2_ ON materialmg1_.c_order_id = order2_.c_order_id CROSS JOIN c_doctype documentty3_ WHERE materialmg1_.c_doctype_id = documentty3_.c_doctype_id AND (materialmg1_.movementtype IN (...)) AND materialmg1_.islogistic = '' AND documentty3_.isreturn = '' AND order2_.c_order_id = order0_.c_order_id AND (materialmg1_.ad_org_id IN (...)) AND (materialmg1_.ad_client_id IN (...)))) ORDER BY order0_.documentno, order0_.dateordered, order0_.grandtotal LIMIT '';Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 15 09 23 14m30s 37s835ms 10 16 10m38s 39s881ms 13 36 4m6s 6s841ms [ User: tad - Total duration: 29m14s - Times executed: 75 ]
[ Application: openbravo - Total duration: 29m14s - Times executed: 75 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%0%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%0%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%04%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '76';
Date: 2026-07-15 10:42:05 Duration: 2m2s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:14:48 Duration: 2m1s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:41:19 Duration: 1m16s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
5 20s646ms 21s547ms 21s11ms 5 1m45s SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (documentty1_.docsubtypeso NOT LIKE '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.grandtotal DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 15 09 1 20s823ms 20s823ms 13 4 1m24s 21s57ms [ User: tad - Total duration: 1m45s - Times executed: 5 ]
[ Application: openbravo - Total duration: 1m45s - Times executed: 5 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'N' AND (documentty1_.DocSubTypeSO NOT LIKE 'OB') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.GrandTotal DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'N' AND (documentty1_.DocSubTypeSO NOT LIKE 'OB') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.GrandTotal DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'N' AND (documentty1_.DocSubTypeSO NOT LIKE 'OB') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.GrandTotal DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 13:31:01 Duration: 21s547ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:31:45 Duration: 21s140ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:32:15 Duration: 20s897ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
6 16s721ms 1m4s 19s751ms 90 29m37s SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, '' || documentno AS description, '' AS isactive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdby, now () AS updated, 0 AS updatedby FROM c_order WHERE (em_prouti_received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> '' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 0, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> '' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 0, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = '' AND docstatus <> '') aaa WHERE NOT EXISTS ( SELECT 0 FROM ad_alert a WHERE a.ad_alertrule_id = '' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, '') != '');Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 15 07 6 1m51s 18s614ms 08 6 3m10s 31s784ms 09 6 2m4s 20s786ms 10 6 2m13s 22s218ms 11 6 2m9s 21s569ms 12 6 2m14s 22s420ms 13 6 2m8s 21s348ms 14 6 1m46s 17s753ms 15 6 1m45s 17s610ms 16 6 1m42s 17s14ms 17 6 1m44s 17s385ms 18 6 1m41s 16s993ms 19 6 1m42s 17s32ms 20 6 1m41s 16s873ms 21 6 1m41s 16s870ms [ User: tad - Total duration: 29m37s - Times executed: 90 ]
[ Application: openbravo - Total duration: 29m37s - Times executed: 90 ]
-
SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('c_order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Campos de compras incorrectos en pedido ' || documentno AS description, 'Y' AS isActive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE (em_prouti_Received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 2) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_Invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = 'N' AND docstatus <> 'DR') AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = 'EA47197112604106A3E78741F595F654' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('c_order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Campos de compras incorrectos en pedido ' || documentno AS description, 'Y' AS isActive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE (em_prouti_Received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 2) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_Invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = 'N' AND docstatus <> 'DR') AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = 'EA47197112604106A3E78741F595F654' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT c_order_id AS referencekey_id, ad_column_identifier_std ('c_order', c_order_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'Campos de compras incorrectos en pedido ' || documentno AS description, 'Y' AS isActive, 0 AS ad_org_id, ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM c_order WHERE (em_prouti_Received <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE trunc (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.movementqty)), 0), abs (ol.qtyordered)) FROM m_inoutline il LEFT JOIN m_inout i ON i.m_inout_id = il.m_inout_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 2) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0)) OR em_prouti_Invoiced <> (COALESCE (( SELECT CASE WHEN sum (abs (ol.qtyordered)) = 0 THEN 0 ELSE round (COALESCE (sum (abs (COALESCE (( SELECT LEAST (COALESCE (abs (sum (il.qtyinvoiced)), 0), abs (ol.qtyordered)) FROM c_invoiceline il LEFT JOIN c_invoice i ON i.c_invoice_id = il.c_invoice_id WHERE i.docstatus <> 'DR' AND il.c_orderline_id = ol.c_orderline_id), 0))), 0) / sum (abs (ol.qtyordered)) * 100, 0) END FROM c_orderline ol WHERE ol.c_order_id = c_order.c_order_id AND ol.c_order_discount_id IS NULL), 0))) AND issotrx = 'N' AND docstatus <> 'DR') AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = 'EA47197112604106A3E78741F595F654' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 08:10:21 Duration: 1m4s Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:19:48 Duration: 29s997ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:29:49 Duration: 29s992ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
7 6s899ms 44s157ms 17s963ms 12 3m35s UPDATE m_requisitionline rl SET em_cactl_consumption = cactl_calculate_consumption (rl.m_product_id, rl.ad_org_id, rl.ad_client_id) FROM m_requisition r WHERE rl.reqstatus = '' AND rl.m_requisition_id = r.m_requisition_id AND r.docstatus = '';Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 15 07 1 39s987ms 39s987ms 08 1 44s157ms 44s157ms 10 1 26s620ms 26s620ms 11 1 23s422ms 23s422ms 14 1 6s899ms 6s899ms 15 1 15s266ms 15s266ms 16 1 10s120ms 10s120ms 17 1 10s377ms 10s377ms 18 1 10s79ms 10s79ms 19 1 9s433ms 9s433ms 20 1 9s904ms 9s904ms 21 1 9s291ms 9s291ms [ User: tad - Total duration: 3m35s - Times executed: 12 ]
[ Application: openbravo - Total duration: 3m35s - Times executed: 12 ]
-
UPDATE m_requisitionline rl SET em_cactl_consumption = cactl_calculate_consumption (rl.m_product_id, rl.ad_org_id, rl.ad_client_id) FROM m_requisition r WHERE rl.reqstatus = 'O' AND rl.m_requisition_id = r.m_requisition_id AND r.docstatus = 'CO';
-
UPDATE m_requisitionline rl SET em_cactl_consumption = cactl_calculate_consumption (rl.m_product_id, rl.ad_org_id, rl.ad_client_id) FROM m_requisition r WHERE rl.reqstatus = 'O' AND rl.m_requisition_id = r.m_requisition_id AND r.docstatus = 'CO';
-
UPDATE m_requisitionline rl SET em_cactl_consumption = cactl_calculate_consumption (rl.m_product_id, rl.ad_org_id, rl.ad_client_id) FROM m_requisition r WHERE rl.reqstatus = 'O' AND rl.m_requisition_id = r.m_requisition_id AND r.docstatus = 'CO';
Date: 2026-07-15 08:20:44 Duration: 44s157ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 07:20:40 Duration: 39s987ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:20:26 Duration: 26s620ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
8 6s313ms 41s123ms 13s480ms 15 3m22s SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ WHERE (upper ((order0_.documentno || '' || COALESCE (to_char (order0_.dateordered), '') || '' || COALESCE (to_char (order0_.grandtotal), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM m_inout materialmg1_ INNER JOIN c_order order2_ ON materialmg1_.c_order_id = order2_.c_order_id CROSS JOIN c_doctype documentty3_ WHERE materialmg1_.c_doctype_id = documentty3_.c_doctype_id AND (materialmg1_.movementtype IN (...)) AND materialmg1_.islogistic = '' AND documentty3_.isreturn = '' AND order2_.c_order_id = order0_.c_order_id AND (materialmg1_.ad_org_id IN (...)) AND (materialmg1_.ad_client_id IN (...)))) ORDER BY order0_.documentno, order0_.dateordered, order0_.grandtotal LIMIT '' OFFSET '';Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 15 09 3 1m28s 29s356ms 10 2 47s581ms 23s790ms 13 10 1m6s 6s655ms [ User: tad - Total duration: 3m22s - Times executed: 15 ]
[ Application: openbravo - Total duration: 3m22s - Times executed: 15 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%091-0058489%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '75' OFFSET '38';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%040-1372571%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '75' OFFSET '38';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ WHERE (upper ((order0_.DocumentNo || ' - ' || COALESCE (to_char (order0_.DateOrdered), '') || ' - ' || COALESCE (to_char (order0_.GrandTotal), ''))) LIKE upper ('%091-0058504%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM M_InOut materialmg1_ INNER JOIN C_Order order2_ ON materialmg1_.C_Order_ID = order2_.C_Order_ID CROSS JOIN C_DocType documentty3_ WHERE materialmg1_.C_DocType_ID = documentty3_.C_DocType_ID AND (materialmg1_.MovementType IN ('C-', 'C+')) AND materialmg1_.Islogistic = 'N' AND documentty3_.IsReturn = 'N' AND order2_.C_Order_ID = order0_.C_Order_ID AND (materialmg1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (materialmg1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY order0_.DocumentNo, order0_.DateOrdered, order0_.GrandTotal LIMIT '75' OFFSET '38';
Date: 2026-07-15 09:15:30 Duration: 41s123ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:42:47 Duration: 41s27ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:22:44 Duration: 40s633ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
9 7s753ms 14s456ms 9s79ms 18 2m43s SELECT invoice0_.c_invoice_id AS c_invoic1_260_, invoice0_.ad_client_id AS ad_clien2_260_, invoice0_.ad_org_id AS ad_org_i3_260_, invoice0_.isactive AS isactive4_260_, invoice0_.created AS created5_260_, invoice0_.createdby AS createdb6_260_, invoice0_.updated AS updated7_260_, invoice0_.updatedby AS updatedb8_260_, invoice0_.issotrx AS issotrx9_260_, invoice0_.documentno AS documen10_260_, invoice0_.docstatus AS docstat11_260_, invoice0_.docaction AS docacti12_260_, invoice0_.processing AS process13_260_, invoice0_.processed AS process14_260_, invoice0_.posted AS posted15_260_, invoice0_.c_doctype_id AS c_docty16_260_, invoice0_.c_doctypetarget_id AS c_docty17_260_, invoice0_.c_order_id AS c_order18_260_, invoice0_.description AS descrip19_260_, invoice0_.isprinted AS isprint20_260_, invoice0_.salesrep_id AS salesre21_260_, invoice0_.dateinvoiced AS dateinv22_260_, invoice0_.dateprinted AS datepri23_260_, invoice0_.dateacct AS dateacc24_260_, invoice0_.c_bpartner_id AS c_bpart25_260_, invoice0_.c_bpartner_location_id AS c_bpart26_260_, invoice0_.poreference AS porefer27_260_, invoice0_.isdiscountprinted AS isdisco28_260_, invoice0_.dateordered AS dateord29_260_, invoice0_.c_currency_id AS c_curre30_260_, invoice0_.c_paymentterm_id AS c_payme31_260_, invoice0_.c_charge_id AS c_charg32_260_, invoice0_.chargeamt AS chargea33_260_, invoice0_.totallines AS totalli34_260_, invoice0_.grandtotal AS grandto35_260_, invoice0_.m_pricelist_id AS m_price36_260_, invoice0_.istaxincluded AS istaxin37_260_, invoice0_.c_campaign_id AS c_campa38_260_, invoice0_.c_project_id AS c_proje39_260_, invoice0_.c_activity_id AS c_activ40_260_, invoice0_.createfrom AS createf41_260_, invoice0_.generateto AS generat42_260_, invoice0_.ad_user_id AS ad_user43_260_, invoice0_.copyfrom AS copyfro44_260_, invoice0_.isselfservice AS isselfs45_260_, invoice0_.ad_orgtrx_id AS ad_orgt46_260_, invoice0_.user1_id AS user47_260_, invoice0_.user2_id AS user48_260_, invoice0_.withholdingamount AS withhol49_260_, invoice0_.taxdate AS taxdate50_260_, invoice0_.c_withholding_id AS c_withh51_260_, invoice0_.ispaid AS ispaid52_260_, invoice0_.em_einv_generated AS em_einv53_260_, invoice0_.totalpaid AS totalpa54_260_, invoice0_.em_einv_sent AS em_einv55_260_, invoice0_.outstandingamt AS outstan56_260_, invoice0_.daystilldue AS daystil57_260_, invoice0_.dueamt AS dueamt58_260_, invoice0_.lastcalculatedondate AS lastcal59_260_, invoice0_.fin_paymentmethod_id AS fin_pay60_260_, invoice0_.fin_payment_priority_id AS fin_pay61_260_, invoice0_.finalsettlement AS finalse62_260_, invoice0_.daysoutstanding AS daysout63_260_, invoice0_.percentageoverdue AS percent64_260_, invoice0_.c_costcenter_id AS c_costc65_260_, invoice0_.calculate_promotions AS calcula66_260_, invoice0_.a_asset_id AS a_asset67_260_, invoice0_.em_aprm_addpayment AS em_aprm68_260_, invoice0_.iscashvat AS iscashv69_260_, invoice0_.em_aprm_processinvoice AS em_aprm70_260_, invoice0_.em_obcma_c_poc_email_id AS em_obcm71_260_, invoice0_.prepaymentamt AS prepaym72_260_, invoice0_.createfromorders AS createf73_260_, invoice0_.createfrominouts AS createf74_260_, invoice0_.em_advcrm_newactivity AS em_advc75_260_, invoice0_.paidamtatinvoicing AS paidamt76_260_, invoice0_.em_obpos_rounding_amount AS em_obpo77_260_, invoice0_.em_sgpcrm_securitygroups_id AS em_sgpc78_260_, invoice0_.bpartner_extref AS bpartne79_260_, invoice0_.em_aeatsii_send AS em_aeat80_260_, invoice0_.em_obpos_sequencename AS em_obpo81_260_, invoice0_.em_aeatsii_issent AS em_aeat82_260_, invoice0_.em_obpos_sequencenumber AS em_obpo83_260_, invoice0_.em_aeatsii_fecha_operacion AS em_aeat84_260_, invoice0_.em_aeatsii_clave_tipo AS em_aeat85_260_, invoice0_.em_aeatsii_motivo_rectif AS em_aeat86_260_, invoice0_.em_prouti_recalculate_price AS em_prou87_260_, invoice0_.em_aeatsii_clave_tipo_fc AS em_aeat88_260_, invoice0_.em_ml_select_product AS em_ml_s89_260_, invoice0_.em_prouti_pricecalculatetdate AS em_prou90_260_, invoice0_.em_aeatsii_tipo_rectif AS em_aeat91_260_, invoice0_.em_prouti_totalizations AS em_prou92_260_, invoice0_.em_aeatsii_dua AS em_aeat93_260_, invoice0_.em_aeatsii_fecha_dua AS em_aeat94_260_, invoice0_.em_aeatsii_estado AS em_aeat95_260_, invoice0_.em_aeatsii_error_registral AS em_aeat96_260_, invoice0_.em_aeatsii_modif AS em_aeat97_260_, invoice0_.em_aeatsii_modified AS em_aeat98_260_, invoice0_.em_aeatsii_description_id AS em_aeat99_260_, invoice0_.em_aeatsii_descripcion_sii AS em_aea100_260_, invoice0_.em_aeatsii_fecha_reg_cont AS em_aea101_260_, invoice0_.em_aeatsii_dup AS em_aea102_260_, invoice0_.em_aeatsii_error_code AS em_aea103_260_, invoice0_.em_aeatsii_error_msg AS em_aea104_260_, invoice0_.em_aeatsii_unsubscribe AS em_aea105_260_, invoice0_.em_aeatsii_pur_description_id AS em_aea106_260_, invoice0_.em_aeatsii_multi_dua AS em_aea107_260_, invoice0_.em_aeatsii_ejercicio AS em_aea108_260_, invoice0_.em_aeatsii_periodo AS em_aea109_260_, invoice0_.em_aeatsii_autofactura AS em_aea110_260_, invoice0_.em_aeatsii_invoice_id AS em_aea111_260_, invoice0_.em_aeatsii_insiidate AS em_aea112_260_, invoice0_.em_aeatsii_cause_exemption_id AS em_aea113_260_, invoice0_.em_aeatsii_isauthorization AS em_aea114_260_, invoice0_.em_aeatsii_authorizationno AS em_aea115_260_, invoice0_.em_priuti_createpurchinv AS em_pri116_260_, invoice0_.em_priuti_generated AS em_pri117_260_, invoice0_.em_priuti_date_complete AS em_pri118_260_, invoice0_.em_prges_expediente_id AS em_prg119_260_, invoice0_.em_priuti_user_complete_id AS em_pri120_260_, invoice0_.em_prges_annotation_id AS em_prg121_260_, invoice0_.em_prges_record_number AS em_prg122_260_, invoice0_.em_priuti_status_of_review AS em_pri123_260_, invoice0_.em_prges_grantotal AS em_prg124_260_, invoice0_.em_priuti_validate AS em_pri125_260_, invoice0_.em_priuti_start_review AS em_pri126_260_, invoice0_.em_prges_poreference AS em_prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM c_invoice invoice0_ LEFT OUTER JOIN c_bpartner businesspa1_ ON invoice0_.c_bpartner_id = businesspa1_.c_bpartner_id WHERE (upper (invoice0_.documentno) LIKE upper ('') ESCAPE '') AND (upper ((businesspa1_.value || '' || businesspa1_.name || '' || COALESCE (to_char (businesspa1_.taxid), '') || '' || COALESCE (to_char (businesspa1_.name2), ''))) LIKE upper ('') ESCAPE '') AND invoice0_.issotrx = '' AND invoice0_.docstatus <> '' AND (invoice0_.ad_org_id IN (...)) AND (invoice0_.ad_client_id IN (...)) ORDER BY invoice0_.c_invoice_id DESC LIMIT '';Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 15 12 18 2m43s 9s79ms [ User: tad - Total duration: 2m43s - Times executed: 18 ]
[ Application: openbravo - Total duration: 2m43s - Times executed: 18 ]
-
SELECT invoice0_.C_Invoice_ID AS C_Invoic1_260_, invoice0_.AD_Client_ID AS AD_Clien2_260_, invoice0_.AD_Org_ID AS AD_Org_I3_260_, invoice0_.IsActive AS IsActive4_260_, invoice0_.Created AS Created5_260_, invoice0_.CreatedBy AS CreatedB6_260_, invoice0_.Updated AS Updated7_260_, invoice0_.UpdatedBy AS UpdatedB8_260_, invoice0_.IsSOTrx AS IsSOTrx9_260_, invoice0_.DocumentNo AS Documen10_260_, invoice0_.DocStatus AS DocStat11_260_, invoice0_.DocAction AS DocActi12_260_, invoice0_.Processing AS Process13_260_, invoice0_.Processed AS Process14_260_, invoice0_.Posted AS Posted15_260_, invoice0_.C_DocType_ID AS C_DocTy16_260_, invoice0_.C_DocTypeTarget_ID AS C_DocTy17_260_, invoice0_.C_Order_ID AS C_Order18_260_, invoice0_.Description AS Descrip19_260_, invoice0_.IsPrinted AS IsPrint20_260_, invoice0_.SalesRep_ID AS SalesRe21_260_, invoice0_.DateInvoiced AS DateInv22_260_, invoice0_.DatePrinted AS DatePri23_260_, invoice0_.DateAcct AS DateAcc24_260_, invoice0_.C_BPartner_ID AS C_BPart25_260_, invoice0_.C_BPartner_Location_ID AS C_BPart26_260_, invoice0_.POReference AS PORefer27_260_, invoice0_.IsDiscountPrinted AS IsDisco28_260_, invoice0_.DateOrdered AS DateOrd29_260_, invoice0_.C_Currency_ID AS C_Curre30_260_, invoice0_.C_PaymentTerm_ID AS C_Payme31_260_, invoice0_.C_Charge_ID AS C_Charg32_260_, invoice0_.ChargeAmt AS ChargeA33_260_, invoice0_.TotalLines AS TotalLi34_260_, invoice0_.GrandTotal AS GrandTo35_260_, invoice0_.M_PriceList_ID AS M_Price36_260_, invoice0_.IsTaxIncluded AS IsTaxIn37_260_, invoice0_.C_Campaign_ID AS C_Campa38_260_, invoice0_.C_Project_ID AS C_Proje39_260_, invoice0_.C_Activity_ID AS C_Activ40_260_, invoice0_.CreateFrom AS CreateF41_260_, invoice0_.GenerateTo AS Generat42_260_, invoice0_.AD_User_ID AS AD_User43_260_, invoice0_.CopyFrom AS CopyFro44_260_, invoice0_.IsSelfService AS IsSelfS45_260_, invoice0_.AD_OrgTrx_ID AS AD_OrgT46_260_, invoice0_.User1_ID AS User47_260_, invoice0_.User2_ID AS User48_260_, invoice0_.Withholdingamount AS Withhol49_260_, invoice0_.Taxdate AS Taxdate50_260_, invoice0_.C_Withholding_ID AS C_Withh51_260_, invoice0_.Ispaid AS Ispaid52_260_, invoice0_.EM_Einv_Generated AS EM_Einv53_260_, invoice0_.Totalpaid AS Totalpa54_260_, invoice0_.EM_Einv_Sent AS EM_Einv55_260_, invoice0_.OutstandingAmt AS Outstan56_260_, invoice0_.DaysTillDue AS DaysTil57_260_, invoice0_.DueAmt AS DueAmt58_260_, invoice0_.LastCalculatedOnDate AS LastCal59_260_, invoice0_.FIN_Paymentmethod_ID AS FIN_Pay60_260_, invoice0_.FIN_Payment_Priority_ID AS FIN_Pay61_260_, invoice0_.Finalsettlement AS Finalse62_260_, invoice0_.Daysoutstanding AS Daysout63_260_, invoice0_.Percentageoverdue AS Percent64_260_, invoice0_.C_Costcenter_ID AS C_Costc65_260_, invoice0_.Calculate_Promotions AS Calcula66_260_, invoice0_.A_Asset_ID AS A_Asset67_260_, invoice0_.EM_APRM_Addpayment AS EM_APRM68_260_, invoice0_.Iscashvat AS Iscashv69_260_, invoice0_.EM_APRM_Processinvoice AS EM_APRM70_260_, invoice0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm71_260_, invoice0_.Prepaymentamt AS Prepaym72_260_, invoice0_.Createfromorders AS Createf73_260_, invoice0_.Createfrominouts AS Createf74_260_, invoice0_.EM_Advcrm_Newactivity AS EM_Advc75_260_, invoice0_.Paidamtatinvoicing AS Paidamt76_260_, invoice0_.EM_Obpos_Rounding_Amount AS EM_Obpo77_260_, invoice0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc78_260_, invoice0_.BPartner_ExtRef AS BPartne79_260_, invoice0_.EM_Aeatsii_Send AS EM_Aeat80_260_, invoice0_.EM_Obpos_Sequencename AS EM_Obpo81_260_, invoice0_.EM_Aeatsii_Issent AS EM_Aeat82_260_, invoice0_.EM_Obpos_Sequencenumber AS EM_Obpo83_260_, invoice0_.EM_Aeatsii_Fecha_Operacion AS EM_Aeat84_260_, invoice0_.EM_Aeatsii_Clave_Tipo AS EM_Aeat85_260_, invoice0_.EM_Aeatsii_Motivo_Rectif AS EM_Aeat86_260_, invoice0_.EM_Prouti_Recalculate_Price AS EM_Prou87_260_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc AS EM_Aeat88_260_, invoice0_.EM_Ml_Select_Product AS EM_Ml_S89_260_, invoice0_.EM_Prouti_Pricecalculatetdate AS EM_Prou90_260_, invoice0_.EM_Aeatsii_Tipo_Rectif AS EM_Aeat91_260_, invoice0_.EM_Prouti_Totalizations AS EM_Prou92_260_, invoice0_.EM_Aeatsii_Dua AS EM_Aeat93_260_, invoice0_.EM_Aeatsii_Fecha_Dua AS EM_Aeat94_260_, invoice0_.EM_Aeatsii_Estado AS EM_Aeat95_260_, invoice0_.EM_Aeatsii_Error_Registral AS EM_Aeat96_260_, invoice0_.EM_Aeatsii_Modif AS EM_Aeat97_260_, invoice0_.EM_Aeatsii_Modified AS EM_Aeat98_260_, invoice0_.EM_Aeatsii_Description_ID AS EM_Aeat99_260_, invoice0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea100_260_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont AS EM_Aea101_260_, invoice0_.EM_Aeatsii_Dup AS EM_Aea102_260_, invoice0_.EM_Aeatsii_Error_Code AS EM_Aea103_260_, invoice0_.EM_Aeatsii_Error_Msg AS EM_Aea104_260_, invoice0_.EM_Aeatsii_Unsubscribe AS EM_Aea105_260_, invoice0_.EM_Aeatsii_Pur_Description_ID AS EM_Aea106_260_, invoice0_.EM_Aeatsii_Multi_Dua AS EM_Aea107_260_, invoice0_.EM_Aeatsii_Ejercicio AS EM_Aea108_260_, invoice0_.EM_Aeatsii_Periodo AS EM_Aea109_260_, invoice0_.EM_Aeatsii_Autofactura AS EM_Aea110_260_, invoice0_.EM_Aeatsii_Invoice_ID AS EM_Aea111_260_, invoice0_.EM_Aeatsii_Insiidate AS EM_Aea112_260_, invoice0_.EM_Aeatsii_Cause_Exemption_ID AS EM_Aea113_260_, invoice0_.EM_Aeatsii_Isauthorization AS EM_Aea114_260_, invoice0_.EM_Aeatsii_Authorizationno AS EM_Aea115_260_, invoice0_.EM_Priuti_Createpurchinv AS EM_Pri116_260_, invoice0_.EM_Priuti_Generated AS EM_Pri117_260_, invoice0_.EM_Priuti_Date_Complete AS EM_Pri118_260_, invoice0_.EM_Prges_Expediente_ID AS EM_Prg119_260_, invoice0_.EM_Priuti_User_Complete_ID AS EM_Pri120_260_, invoice0_.EM_Prges_Annotation_ID AS EM_Prg121_260_, invoice0_.EM_Prges_Record_Number AS EM_Prg122_260_, invoice0_.EM_Priuti_Status_Of_Review AS EM_Pri123_260_, invoice0_.EM_Prges_Grantotal AS EM_Prg124_260_, invoice0_.EM_Priuti_Validate AS EM_Pri125_260_, invoice0_.EM_Priuti_Start_Review AS EM_Pri126_260_, invoice0_.EM_Prges_Poreference AS EM_Prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM C_Invoice invoice0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON invoice0_.C_BPartner_ID = businesspa1_.C_BPartner_ID WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%M%') ESCAPE '|') AND (upper ((businesspa1_.Value || ' - ' || businesspa1_.Name || ' - ' || COALESCE (to_char (businesspa1_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa1_.Name2), ''))) LIKE upper ('%TUI%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY invoice0_.C_Invoice_ID DESC LIMIT '101';
-
SELECT invoice0_.C_Invoice_ID AS C_Invoic1_260_, invoice0_.AD_Client_ID AS AD_Clien2_260_, invoice0_.AD_Org_ID AS AD_Org_I3_260_, invoice0_.IsActive AS IsActive4_260_, invoice0_.Created AS Created5_260_, invoice0_.CreatedBy AS CreatedB6_260_, invoice0_.Updated AS Updated7_260_, invoice0_.UpdatedBy AS UpdatedB8_260_, invoice0_.IsSOTrx AS IsSOTrx9_260_, invoice0_.DocumentNo AS Documen10_260_, invoice0_.DocStatus AS DocStat11_260_, invoice0_.DocAction AS DocActi12_260_, invoice0_.Processing AS Process13_260_, invoice0_.Processed AS Process14_260_, invoice0_.Posted AS Posted15_260_, invoice0_.C_DocType_ID AS C_DocTy16_260_, invoice0_.C_DocTypeTarget_ID AS C_DocTy17_260_, invoice0_.C_Order_ID AS C_Order18_260_, invoice0_.Description AS Descrip19_260_, invoice0_.IsPrinted AS IsPrint20_260_, invoice0_.SalesRep_ID AS SalesRe21_260_, invoice0_.DateInvoiced AS DateInv22_260_, invoice0_.DatePrinted AS DatePri23_260_, invoice0_.DateAcct AS DateAcc24_260_, invoice0_.C_BPartner_ID AS C_BPart25_260_, invoice0_.C_BPartner_Location_ID AS C_BPart26_260_, invoice0_.POReference AS PORefer27_260_, invoice0_.IsDiscountPrinted AS IsDisco28_260_, invoice0_.DateOrdered AS DateOrd29_260_, invoice0_.C_Currency_ID AS C_Curre30_260_, invoice0_.C_PaymentTerm_ID AS C_Payme31_260_, invoice0_.C_Charge_ID AS C_Charg32_260_, invoice0_.ChargeAmt AS ChargeA33_260_, invoice0_.TotalLines AS TotalLi34_260_, invoice0_.GrandTotal AS GrandTo35_260_, invoice0_.M_PriceList_ID AS M_Price36_260_, invoice0_.IsTaxIncluded AS IsTaxIn37_260_, invoice0_.C_Campaign_ID AS C_Campa38_260_, invoice0_.C_Project_ID AS C_Proje39_260_, invoice0_.C_Activity_ID AS C_Activ40_260_, invoice0_.CreateFrom AS CreateF41_260_, invoice0_.GenerateTo AS Generat42_260_, invoice0_.AD_User_ID AS AD_User43_260_, invoice0_.CopyFrom AS CopyFro44_260_, invoice0_.IsSelfService AS IsSelfS45_260_, invoice0_.AD_OrgTrx_ID AS AD_OrgT46_260_, invoice0_.User1_ID AS User47_260_, invoice0_.User2_ID AS User48_260_, invoice0_.Withholdingamount AS Withhol49_260_, invoice0_.Taxdate AS Taxdate50_260_, invoice0_.C_Withholding_ID AS C_Withh51_260_, invoice0_.Ispaid AS Ispaid52_260_, invoice0_.EM_Einv_Generated AS EM_Einv53_260_, invoice0_.Totalpaid AS Totalpa54_260_, invoice0_.EM_Einv_Sent AS EM_Einv55_260_, invoice0_.OutstandingAmt AS Outstan56_260_, invoice0_.DaysTillDue AS DaysTil57_260_, invoice0_.DueAmt AS DueAmt58_260_, invoice0_.LastCalculatedOnDate AS LastCal59_260_, invoice0_.FIN_Paymentmethod_ID AS FIN_Pay60_260_, invoice0_.FIN_Payment_Priority_ID AS FIN_Pay61_260_, invoice0_.Finalsettlement AS Finalse62_260_, invoice0_.Daysoutstanding AS Daysout63_260_, invoice0_.Percentageoverdue AS Percent64_260_, invoice0_.C_Costcenter_ID AS C_Costc65_260_, invoice0_.Calculate_Promotions AS Calcula66_260_, invoice0_.A_Asset_ID AS A_Asset67_260_, invoice0_.EM_APRM_Addpayment AS EM_APRM68_260_, invoice0_.Iscashvat AS Iscashv69_260_, invoice0_.EM_APRM_Processinvoice AS EM_APRM70_260_, invoice0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm71_260_, invoice0_.Prepaymentamt AS Prepaym72_260_, invoice0_.Createfromorders AS Createf73_260_, invoice0_.Createfrominouts AS Createf74_260_, invoice0_.EM_Advcrm_Newactivity AS EM_Advc75_260_, invoice0_.Paidamtatinvoicing AS Paidamt76_260_, invoice0_.EM_Obpos_Rounding_Amount AS EM_Obpo77_260_, invoice0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc78_260_, invoice0_.BPartner_ExtRef AS BPartne79_260_, invoice0_.EM_Aeatsii_Send AS EM_Aeat80_260_, invoice0_.EM_Obpos_Sequencename AS EM_Obpo81_260_, invoice0_.EM_Aeatsii_Issent AS EM_Aeat82_260_, invoice0_.EM_Obpos_Sequencenumber AS EM_Obpo83_260_, invoice0_.EM_Aeatsii_Fecha_Operacion AS EM_Aeat84_260_, invoice0_.EM_Aeatsii_Clave_Tipo AS EM_Aeat85_260_, invoice0_.EM_Aeatsii_Motivo_Rectif AS EM_Aeat86_260_, invoice0_.EM_Prouti_Recalculate_Price AS EM_Prou87_260_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc AS EM_Aeat88_260_, invoice0_.EM_Ml_Select_Product AS EM_Ml_S89_260_, invoice0_.EM_Prouti_Pricecalculatetdate AS EM_Prou90_260_, invoice0_.EM_Aeatsii_Tipo_Rectif AS EM_Aeat91_260_, invoice0_.EM_Prouti_Totalizations AS EM_Prou92_260_, invoice0_.EM_Aeatsii_Dua AS EM_Aeat93_260_, invoice0_.EM_Aeatsii_Fecha_Dua AS EM_Aeat94_260_, invoice0_.EM_Aeatsii_Estado AS EM_Aeat95_260_, invoice0_.EM_Aeatsii_Error_Registral AS EM_Aeat96_260_, invoice0_.EM_Aeatsii_Modif AS EM_Aeat97_260_, invoice0_.EM_Aeatsii_Modified AS EM_Aeat98_260_, invoice0_.EM_Aeatsii_Description_ID AS EM_Aeat99_260_, invoice0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea100_260_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont AS EM_Aea101_260_, invoice0_.EM_Aeatsii_Dup AS EM_Aea102_260_, invoice0_.EM_Aeatsii_Error_Code AS EM_Aea103_260_, invoice0_.EM_Aeatsii_Error_Msg AS EM_Aea104_260_, invoice0_.EM_Aeatsii_Unsubscribe AS EM_Aea105_260_, invoice0_.EM_Aeatsii_Pur_Description_ID AS EM_Aea106_260_, invoice0_.EM_Aeatsii_Multi_Dua AS EM_Aea107_260_, invoice0_.EM_Aeatsii_Ejercicio AS EM_Aea108_260_, invoice0_.EM_Aeatsii_Periodo AS EM_Aea109_260_, invoice0_.EM_Aeatsii_Autofactura AS EM_Aea110_260_, invoice0_.EM_Aeatsii_Invoice_ID AS EM_Aea111_260_, invoice0_.EM_Aeatsii_Insiidate AS EM_Aea112_260_, invoice0_.EM_Aeatsii_Cause_Exemption_ID AS EM_Aea113_260_, invoice0_.EM_Aeatsii_Isauthorization AS EM_Aea114_260_, invoice0_.EM_Aeatsii_Authorizationno AS EM_Aea115_260_, invoice0_.EM_Priuti_Createpurchinv AS EM_Pri116_260_, invoice0_.EM_Priuti_Generated AS EM_Pri117_260_, invoice0_.EM_Priuti_Date_Complete AS EM_Pri118_260_, invoice0_.EM_Prges_Expediente_ID AS EM_Prg119_260_, invoice0_.EM_Priuti_User_Complete_ID AS EM_Pri120_260_, invoice0_.EM_Prges_Annotation_ID AS EM_Prg121_260_, invoice0_.EM_Prges_Record_Number AS EM_Prg122_260_, invoice0_.EM_Priuti_Status_Of_Review AS EM_Pri123_260_, invoice0_.EM_Prges_Grantotal AS EM_Prg124_260_, invoice0_.EM_Priuti_Validate AS EM_Pri125_260_, invoice0_.EM_Priuti_Start_Review AS EM_Pri126_260_, invoice0_.EM_Prges_Poreference AS EM_Prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM C_Invoice invoice0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON invoice0_.C_BPartner_ID = businesspa1_.C_BPartner_ID WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1605%') ESCAPE '|') AND (upper ((businesspa1_.Value || ' - ' || businesspa1_.Name || ' - ' || COALESCE (to_char (businesspa1_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa1_.Name2), ''))) LIKE upper ('%TUI%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY invoice0_.C_Invoice_ID DESC LIMIT '101';
-
SELECT invoice0_.C_Invoice_ID AS C_Invoic1_260_, invoice0_.AD_Client_ID AS AD_Clien2_260_, invoice0_.AD_Org_ID AS AD_Org_I3_260_, invoice0_.IsActive AS IsActive4_260_, invoice0_.Created AS Created5_260_, invoice0_.CreatedBy AS CreatedB6_260_, invoice0_.Updated AS Updated7_260_, invoice0_.UpdatedBy AS UpdatedB8_260_, invoice0_.IsSOTrx AS IsSOTrx9_260_, invoice0_.DocumentNo AS Documen10_260_, invoice0_.DocStatus AS DocStat11_260_, invoice0_.DocAction AS DocActi12_260_, invoice0_.Processing AS Process13_260_, invoice0_.Processed AS Process14_260_, invoice0_.Posted AS Posted15_260_, invoice0_.C_DocType_ID AS C_DocTy16_260_, invoice0_.C_DocTypeTarget_ID AS C_DocTy17_260_, invoice0_.C_Order_ID AS C_Order18_260_, invoice0_.Description AS Descrip19_260_, invoice0_.IsPrinted AS IsPrint20_260_, invoice0_.SalesRep_ID AS SalesRe21_260_, invoice0_.DateInvoiced AS DateInv22_260_, invoice0_.DatePrinted AS DatePri23_260_, invoice0_.DateAcct AS DateAcc24_260_, invoice0_.C_BPartner_ID AS C_BPart25_260_, invoice0_.C_BPartner_Location_ID AS C_BPart26_260_, invoice0_.POReference AS PORefer27_260_, invoice0_.IsDiscountPrinted AS IsDisco28_260_, invoice0_.DateOrdered AS DateOrd29_260_, invoice0_.C_Currency_ID AS C_Curre30_260_, invoice0_.C_PaymentTerm_ID AS C_Payme31_260_, invoice0_.C_Charge_ID AS C_Charg32_260_, invoice0_.ChargeAmt AS ChargeA33_260_, invoice0_.TotalLines AS TotalLi34_260_, invoice0_.GrandTotal AS GrandTo35_260_, invoice0_.M_PriceList_ID AS M_Price36_260_, invoice0_.IsTaxIncluded AS IsTaxIn37_260_, invoice0_.C_Campaign_ID AS C_Campa38_260_, invoice0_.C_Project_ID AS C_Proje39_260_, invoice0_.C_Activity_ID AS C_Activ40_260_, invoice0_.CreateFrom AS CreateF41_260_, invoice0_.GenerateTo AS Generat42_260_, invoice0_.AD_User_ID AS AD_User43_260_, invoice0_.CopyFrom AS CopyFro44_260_, invoice0_.IsSelfService AS IsSelfS45_260_, invoice0_.AD_OrgTrx_ID AS AD_OrgT46_260_, invoice0_.User1_ID AS User47_260_, invoice0_.User2_ID AS User48_260_, invoice0_.Withholdingamount AS Withhol49_260_, invoice0_.Taxdate AS Taxdate50_260_, invoice0_.C_Withholding_ID AS C_Withh51_260_, invoice0_.Ispaid AS Ispaid52_260_, invoice0_.EM_Einv_Generated AS EM_Einv53_260_, invoice0_.Totalpaid AS Totalpa54_260_, invoice0_.EM_Einv_Sent AS EM_Einv55_260_, invoice0_.OutstandingAmt AS Outstan56_260_, invoice0_.DaysTillDue AS DaysTil57_260_, invoice0_.DueAmt AS DueAmt58_260_, invoice0_.LastCalculatedOnDate AS LastCal59_260_, invoice0_.FIN_Paymentmethod_ID AS FIN_Pay60_260_, invoice0_.FIN_Payment_Priority_ID AS FIN_Pay61_260_, invoice0_.Finalsettlement AS Finalse62_260_, invoice0_.Daysoutstanding AS Daysout63_260_, invoice0_.Percentageoverdue AS Percent64_260_, invoice0_.C_Costcenter_ID AS C_Costc65_260_, invoice0_.Calculate_Promotions AS Calcula66_260_, invoice0_.A_Asset_ID AS A_Asset67_260_, invoice0_.EM_APRM_Addpayment AS EM_APRM68_260_, invoice0_.Iscashvat AS Iscashv69_260_, invoice0_.EM_APRM_Processinvoice AS EM_APRM70_260_, invoice0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm71_260_, invoice0_.Prepaymentamt AS Prepaym72_260_, invoice0_.Createfromorders AS Createf73_260_, invoice0_.Createfrominouts AS Createf74_260_, invoice0_.EM_Advcrm_Newactivity AS EM_Advc75_260_, invoice0_.Paidamtatinvoicing AS Paidamt76_260_, invoice0_.EM_Obpos_Rounding_Amount AS EM_Obpo77_260_, invoice0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgpc78_260_, invoice0_.BPartner_ExtRef AS BPartne79_260_, invoice0_.EM_Aeatsii_Send AS EM_Aeat80_260_, invoice0_.EM_Obpos_Sequencename AS EM_Obpo81_260_, invoice0_.EM_Aeatsii_Issent AS EM_Aeat82_260_, invoice0_.EM_Obpos_Sequencenumber AS EM_Obpo83_260_, invoice0_.EM_Aeatsii_Fecha_Operacion AS EM_Aeat84_260_, invoice0_.EM_Aeatsii_Clave_Tipo AS EM_Aeat85_260_, invoice0_.EM_Aeatsii_Motivo_Rectif AS EM_Aeat86_260_, invoice0_.EM_Prouti_Recalculate_Price AS EM_Prou87_260_, invoice0_.EM_Aeatsii_Clave_Tipo_Fc AS EM_Aeat88_260_, invoice0_.EM_Ml_Select_Product AS EM_Ml_S89_260_, invoice0_.EM_Prouti_Pricecalculatetdate AS EM_Prou90_260_, invoice0_.EM_Aeatsii_Tipo_Rectif AS EM_Aeat91_260_, invoice0_.EM_Prouti_Totalizations AS EM_Prou92_260_, invoice0_.EM_Aeatsii_Dua AS EM_Aeat93_260_, invoice0_.EM_Aeatsii_Fecha_Dua AS EM_Aeat94_260_, invoice0_.EM_Aeatsii_Estado AS EM_Aeat95_260_, invoice0_.EM_Aeatsii_Error_Registral AS EM_Aeat96_260_, invoice0_.EM_Aeatsii_Modif AS EM_Aeat97_260_, invoice0_.EM_Aeatsii_Modified AS EM_Aeat98_260_, invoice0_.EM_Aeatsii_Description_ID AS EM_Aeat99_260_, invoice0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea100_260_, invoice0_.EM_Aeatsii_Fecha_Reg_Cont AS EM_Aea101_260_, invoice0_.EM_Aeatsii_Dup AS EM_Aea102_260_, invoice0_.EM_Aeatsii_Error_Code AS EM_Aea103_260_, invoice0_.EM_Aeatsii_Error_Msg AS EM_Aea104_260_, invoice0_.EM_Aeatsii_Unsubscribe AS EM_Aea105_260_, invoice0_.EM_Aeatsii_Pur_Description_ID AS EM_Aea106_260_, invoice0_.EM_Aeatsii_Multi_Dua AS EM_Aea107_260_, invoice0_.EM_Aeatsii_Ejercicio AS EM_Aea108_260_, invoice0_.EM_Aeatsii_Periodo AS EM_Aea109_260_, invoice0_.EM_Aeatsii_Autofactura AS EM_Aea110_260_, invoice0_.EM_Aeatsii_Invoice_ID AS EM_Aea111_260_, invoice0_.EM_Aeatsii_Insiidate AS EM_Aea112_260_, invoice0_.EM_Aeatsii_Cause_Exemption_ID AS EM_Aea113_260_, invoice0_.EM_Aeatsii_Isauthorization AS EM_Aea114_260_, invoice0_.EM_Aeatsii_Authorizationno AS EM_Aea115_260_, invoice0_.EM_Priuti_Createpurchinv AS EM_Pri116_260_, invoice0_.EM_Priuti_Generated AS EM_Pri117_260_, invoice0_.EM_Priuti_Date_Complete AS EM_Pri118_260_, invoice0_.EM_Prges_Expediente_ID AS EM_Prg119_260_, invoice0_.EM_Priuti_User_Complete_ID AS EM_Pri120_260_, invoice0_.EM_Prges_Annotation_ID AS EM_Prg121_260_, invoice0_.EM_Prges_Record_Number AS EM_Prg122_260_, invoice0_.EM_Priuti_Status_Of_Review AS EM_Pri123_260_, invoice0_.EM_Prges_Grantotal AS EM_Prg124_260_, invoice0_.EM_Priuti_Validate AS EM_Pri125_260_, invoice0_.EM_Priuti_Start_Review AS EM_Pri126_260_, invoice0_.EM_Prges_Poreference AS EM_Prg127_260_, invoice0_.em_cactl_createfromship AS em_cac128_260_ FROM C_Invoice invoice0_ LEFT OUTER JOIN C_BPartner businesspa1_ ON invoice0_.C_BPartner_ID = businesspa1_.C_BPartner_ID WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%16058%') ESCAPE '|') AND (upper ((businesspa1_.Value || ' - ' || businesspa1_.Name || ' - ' || COALESCE (to_char (businesspa1_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa1_.Name2), ''))) LIKE upper ('%TUI%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY invoice0_.C_Invoice_ID DESC LIMIT '101';
Date: 2026-07-15 12:18:20 Duration: 14s456ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:17:56 Duration: 12s519ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:17:56 Duration: 11s453ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
10 7s756ms 13s246ms 9s10ms 81 12m9s SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, '' || fa.name || '' || fa.currentbalance || '' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) || '' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) AS description, '' AS isactive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdby, now () AS updated, 0 AS updatedby FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = '')) aaa WHERE NOT EXISTS ( SELECT 0 FROM ad_alert a WHERE a.ad_alertrule_id = '' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, '') != '');Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 15 07 6 47s525ms 7s920ms 08 5 54s85ms 10s817ms 09 3 29s666ms 9s888ms 10 5 59s238ms 11s847ms 11 4 40s316ms 10s79ms 12 6 1m10s 11s701ms 13 5 52s735ms 10s547ms 14 5 41s128ms 8s225ms 15 6 48s717ms 8s119ms 16 6 47s823ms 7s970ms 17 6 48s280ms 8s46ms 18 6 47s902ms 7s983ms 19 6 47s701ms 7s950ms 20 6 47s147ms 7s857ms 21 6 47s336ms 7s889ms [ User: tad - Total duration: 12m9s - Times executed: 81 ]
[ Application: openbravo - Total duration: 12m9s - Times executed: 81 ]
-
SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = '20047DCF451F49F095E5D09B810A6AEA' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = '20047DCF451F49F095E5D09B810A6AEA' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
-
SELECT * FROM ( SELECT fa.fin_financial_account_id AS referencekey_id, ad_column_identifier_std ('fin_financial_account', fa.fin_financial_account_id) AS record_id, 0 AS ad_role_id, NULL AS ad_user_id, 'La cuenta financiera ' || fa.name || ' descuadra ' || fa.currentbalance || ' / ' || (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) || 'DIF: ' || fa.currentbalance - (fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AS description, 'Y' AS isActive, 0 AS ad_org_id, fa.ad_client_id AS ad_client_id, now () AS created, 0 AS createdBy, now () AS updated, 0 AS updatedBy FROM fin_financial_account fa WHERE fa.currentbalance <> fa.initialbalance + ( SELECT sum (depositamt) - sum (paymentamt) FROM fin_finacc_transaction WHERE fa.fin_financial_account_id = fin_finacc_transaction.fin_financial_account_id AND fin_finacc_transaction.processed = 'Y')) AAA WHERE NOT EXISTS ( SELECT 1 FROM ad_alert a WHERE a.ad_alertrule_id = '20047DCF451F49F095E5D09B810A6AEA' AND a.referencekey_id = aaa.referencekey_id AND COALESCE (a.status, 'NEW') != 'SOLVED');
Date: 2026-07-15 10:59:20 Duration: 13s246ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:29:18 Duration: 13s116ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:49:19 Duration: 12s595ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
11 8s581ms 10s568ms 8s932ms 17 2m31s SELECT sum (invoice0_.grandtotal) AS col_0_0_, sum (invoice0_.totalpaid) AS col_1_0_, sum (invoice0_.outstandingamt) AS col_2_0_ FROM c_invoice invoice0_ WHERE invoice0_.issotrx = '' AND invoice0_.docstatus <> '' AND (invoice0_.ad_org_id IN (...)) AND (invoice0_.ad_client_id IN (...)) LIMIT '';Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 15 12 17 2m31s 8s932ms [ User: tad - Total duration: 2m31s - Times executed: 17 ]
[ Application: openbravo - Total duration: 2m31s - Times executed: 17 ]
-
SELECT sum (invoice0_.GrandTotal) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_, sum (invoice0_.OutstandingAmt) AS col_2_0_ FROM C_Invoice invoice0_ WHERE invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.GrandTotal) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_, sum (invoice0_.OutstandingAmt) AS col_2_0_ FROM C_Invoice invoice0_ WHERE invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.GrandTotal) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_, sum (invoice0_.OutstandingAmt) AS col_2_0_ FROM C_Invoice invoice0_ WHERE invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
Date: 2026-07-15 12:11:14 Duration: 10s568ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:11:30 Duration: 9s62ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:11:30 Duration: 9s24ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
12 5s465ms 32s887ms 8s600ms 12 1m43s SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.documentno, order0_.c_order_id LIMIT '';Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 15 07 1 6s30ms 6s30ms 08 1 32s887ms 32s887ms 09 4 23s537ms 5s884ms 10 2 15s942ms 7s971ms 11 2 11s799ms 5s899ms 12 1 7s64ms 7s64ms 14 1 5s945ms 5s945ms [ User: tad - Total duration: 1m43s - Times executed: 12 ]
[ Application: openbravo - Total duration: 1m43s - Times executed: 12 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 08:39:46.994' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo, order0_.C_Order_ID LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 10:20:17.284' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo, order0_.C_Order_ID LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 12:44:58.082' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo, order0_.C_Order_ID LIMIT '101';
Date: 2026-07-15 08:40:19 Duration: 32s887ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:20:27 Duration: 10s170ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:45:05 Duration: 7s64ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
13 7s644ms 10s356ms 8s267ms 15 2m4s SELECT sum (invoice0_.outstandingamt) AS col_0_0_, sum (invoice0_.totalpaid) AS col_1_0_ FROM c_invoice invoice0_ WHERE (upper (invoice0_.documentno) LIKE upper ('') ESCAPE '') AND invoice0_.issotrx = '' AND invoice0_.docstatus <> '' AND (invoice0_.ad_org_id IN (...)) AND (invoice0_.ad_client_id IN (...)) LIMIT '';Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 15 09 10 1m20s 8s70ms 10 5 43s304ms 8s660ms [ User: tad - Total duration: 2m4s - Times executed: 15 ]
[ Application: openbravo - Total duration: 2m4s - Times executed: 15 ]
-
SELECT sum (invoice0_.OutstandingAmt) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_ FROM C_Invoice invoice0_ WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1645192%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.OutstandingAmt) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_ FROM C_Invoice invoice0_ WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1645192%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
-
SELECT sum (invoice0_.OutstandingAmt) AS col_0_0_, sum (invoice0_.Totalpaid) AS col_1_0_ FROM C_Invoice invoice0_ WHERE (upper (invoice0_.DocumentNo) LIKE upper ('%1645039%') ESCAPE '|') AND invoice0_.IsSOTrx = 'Y' AND invoice0_.DocStatus <> 'TEMP' AND (invoice0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) LIMIT '2';
Date: 2026-07-15 10:49:10 Duration: 10s356ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:49:14 Duration: 9s118ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:29:28 Duration: 8s690ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
14 5s841ms 14s5ms 7s866ms 24 3m8s SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE (upper ((businesspa0_.value || '' || businesspa0_.name || '' || COALESCE (to_char (businesspa0_.taxid), '') || '' || COALESCE (to_char (businesspa0_.name2), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM c_invoice invoice1_ INNER JOIN c_bpartner businesspa2_ ON invoice1_.c_bpartner_id = businesspa2_.c_bpartner_id WHERE invoice1_.issotrx = '' AND invoice1_.docstatus <> '' AND businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id AND (invoice1_.ad_org_id IN (...)) AND (invoice1_.ad_client_id IN (...)))) ORDER BY businesspa0_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 15 08 7 56s892ms 8s127ms 09 2 15s624ms 7s812ms 10 6 49s168ms 8s194ms 11 4 25s41ms 6s260ms 12 2 23s328ms 11s664ms 13 3 18s750ms 6s250ms [ User: tad - Total duration: 3m8s - Times executed: 24 ]
[ Application: openbravo - Total duration: 3m8s - Times executed: 24 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%ME%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE invoice1_.IsSOTrx = 'Y' AND invoice1_.DocStatus <> 'TEMP' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%co%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE invoice1_.IsSOTrx = 'N' AND invoice1_.DocStatus <> 'TEMP' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%ar%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Invoice invoice1_ INNER JOIN C_BPartner businesspa2_ ON invoice1_.C_BPartner_ID = businesspa2_.C_BPartner_ID WHERE invoice1_.IsSOTrx = 'N' AND invoice1_.DocStatus <> 'TEMP' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (invoice1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (invoice1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 12:42:40 Duration: 14s5ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:15:23 Duration: 11s670ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:31:19 Duration: 11s473ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
15 7s375ms 8s394ms 7s720ms 12 1m32s SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND (upper (order0_.deliverynotes) LIKE upper ('') ESCAPE '') AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.datepromised DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 15 08 6 45s427ms 7s571ms 09 6 47s223ms 7s870ms [ User: tad - Total duration: 1m32s - Times executed: 12 ]
[ Application: openbravo - Total duration: 1m32s - Times executed: 12 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND (upper (order0_.Deliverynotes) LIKE upper ('%sol%') ESCAPE '|') AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND (upper (order0_.Deliverynotes) LIKE upper ('%s%') ESCAPE '|') AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND (upper (order0_.Deliverynotes) LIKE upper ('%font%') ESCAPE '|') AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DatePromised DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 09:00:59 Duration: 8s394ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:00:58 Duration: 8s70ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 09:14:35 Duration: 7s951ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
16 5s572ms 29s860ms 7s662ms 32 4m5s SELECT businesspa0_.c_bpartner_id AS c_bpartn1_203_, businesspa0_.ad_client_id AS ad_clien2_203_, businesspa0_.ad_org_id AS ad_org_i3_203_, businesspa0_.isactive AS isactive4_203_, businesspa0_.created AS created5_203_, businesspa0_.createdby AS createdb6_203_, businesspa0_.updated AS updated7_203_, businesspa0_.updatedby AS updatedb8_203_, businesspa0_.value AS value9_203_, businesspa0_.name AS name10_203_, businesspa0_.name2 AS name11_203_, businesspa0_.description AS descrip12_203_, businesspa0_.issummary AS issumma13_203_, businesspa0_.c_bp_group_id AS c_bp_gr14_203_, businesspa0_.isonetime AS isoneti15_203_, businesspa0_.isprospect AS isprosp16_203_, businesspa0_.isvendor AS isvendo17_203_, businesspa0_.iscustomer AS iscusto18_203_, businesspa0_.isemployee AS isemplo19_203_, businesspa0_.issalesrep AS issales20_203_, businesspa0_.referenceno AS referen21_203_, businesspa0_.duns AS duns22_203_, businesspa0_.url AS url23_203_, businesspa0_.ad_language AS ad_lang24_203_, businesspa0_.taxid AS taxid25_203_, businesspa0_.istaxexempt AS istaxex26_203_, businesspa0_.c_invoiceschedule_id AS c_invoi27_203_, businesspa0_.rating AS rating28_203_, businesspa0_.salesvolume AS salesvo29_203_, businesspa0_.numberemployees AS numbere30_203_, businesspa0_.naics AS naics31_203_, businesspa0_.firstsale AS firstsa32_203_, businesspa0_.acqusitioncost AS acqusit33_203_, businesspa0_.potentiallifetimevalue AS potenti34_203_, businesspa0_.actuallifetimevalue AS actuall35_203_, businesspa0_.shareofcustomer AS shareof36_203_, businesspa0_.paymentrule AS payment37_203_, businesspa0_.so_creditlimit AS so_cred38_203_, businesspa0_.so_creditused AS so_cred39_203_, businesspa0_.c_paymentterm_id AS c_payme40_203_, businesspa0_.m_pricelist_id AS m_price41_203_, businesspa0_.isdiscountprinted AS isdisco42_203_, businesspa0_.so_description AS so_desc43_203_, businesspa0_.poreference AS porefer44_203_, businesspa0_.paymentrulepo AS payment45_203_, businesspa0_.po_pricelist_id AS po_pric46_203_, businesspa0_.po_paymentterm_id AS po_paym47_203_, businesspa0_.documentcopies AS documen48_203_, businesspa0_.c_greeting_id AS c_greet49_203_, businesspa0_.invoicerule AS invoice50_203_, businesspa0_.deliveryrule AS deliver51_203_, businesspa0_.deliveryviarule AS deliver52_203_, businesspa0_.salesrep_id AS salesre53_203_, businesspa0_.bpartner_parent_id AS bpartne54_203_, businesspa0_.socreditstatus AS socredi55_203_, businesspa0_.ad_forced_org_id AS ad_forc56_203_, businesspa0_.showpriceinorder AS showpri57_203_, businesspa0_.invoicegrouping AS invoice58_203_, businesspa0_.fixmonthday AS fixmont59_203_, businesspa0_.fixmonthday2 AS fixmont60_203_, businesspa0_.fixmonthday3 AS fixmont61_203_, businesspa0_.isworker AS isworke62_203_, businesspa0_.upc AS upc63_203_, businesspa0_.c_salary_category_id AS c_salar64_203_, businesspa0_.invoice_printformat AS invoice65_203_, businesspa0_.last_days AS last_da66_203_, businesspa0_.po_bankaccount_id AS po_bank67_203_, businesspa0_.po_bp_taxcategory_id AS po_bp_t68_203_, businesspa0_.po_fixmonthday AS po_fixm69_203_, businesspa0_.po_fixmonthday2 AS po_fixm70_203_, businesspa0_.po_fixmonthday3 AS po_fixm71_203_, businesspa0_.so_bankaccount_id AS so_bank72_203_, businesspa0_.so_bp_taxcategory_id AS so_bp_t73_203_, businesspa0_.fiscalcode AS fiscalc74_203_, businesspa0_.isofiscalcode AS isofisc75_203_, businesspa0_.em_einv_einvoice AS em_einv76_203_, businesspa0_.po_c_incoterms_id AS po_c_in77_203_, businesspa0_.em_einv_format_id AS em_einv78_203_, businesspa0_.so_c_incoterms_id AS so_c_in79_203_, businesspa0_.em_einv_platform_id AS em_einv80_203_, businesspa0_.fin_paymentmethod_id AS fin_pay81_203_, businesspa0_.em_einv_email AS em_einv82_203_, businesspa0_.po_paymentmethod_id AS po_paym83_203_, businesspa0_.fin_financial_account_id AS fin_fin84_203_, businesspa0_.em_einv_deliverymode AS em_einv85_203_, businesspa0_.po_financial_account_id AS po_fina86_203_, businesspa0_.customer_blocking AS custome87_203_, businesspa0_.vendor_blocking AS vendor_88_203_, businesspa0_.so_payment_blocking AS so_paym89_203_, businesspa0_.po_payment_blocking AS po_paym90_203_, businesspa0_.so_invoice_blocking AS so_invo91_203_, businesspa0_.po_invoice_blocking AS po_invo92_203_, businesspa0_.so_order_blocking AS so_orde93_203_, businesspa0_.po_order_blocking AS po_orde94_203_, businesspa0_.so_goods_blocking AS so_good95_203_, businesspa0_.po_goods_blocking AS po_good96_203_, businesspa0_.iscashvat AS iscashv97_203_, businesspa0_.em_advcrm_newactivity AS em_advc98_203_, businesspa0_.update_currency AS update_99_203_, businesspa0_.bp_currency_id AS bp_cur100_203_, businesspa0_.birthplace AS birthp101_203_, businesspa0_.birthday AS birthd102_203_, businesspa0_.em_sgpcrm_securitygroups_id AS em_sgp103_203_, businesspa0_.is_customer_consent AS is_cus104_203_, businesspa0_.em_obsmail_invoiceviaemail AS em_obs105_203_, businesspa0_.em_obsepad_mandate_identifier AS em_obs106_203_, businesspa0_.em_obsmail_language AS em_obs107_203_, businesspa0_.em_obsepad_mandate_date AS em_obs108_203_, businesspa0_.em_aeatsii_rep_taxid AS em_aea109_203_, businesspa0_.em_aeatsii_menor AS em_aea110_203_, businesspa0_.em_pricm_isintercompany AS em_pri111_203_, businesspa0_.em_psat_billtobpartner_id AS em_psa112_203_, businesspa0_.em_psat_locator_id AS em_psa113_203_, businesspa0_.em_psat_mobile_request AS em_psa114_203_, businesspa0_.em_prges_glitem_id AS em_prg115_203_, businesspa0_.em_rrhh_exemployee AS em_rrh116_203_, businesspa0_.em_rrhh_candidate AS em_rrh117_203_, businesspa0_.em_prpass_no_print_pass AS em_prp118_203_, businesspa0_.em_rrhh_holidays_supervisor AS em_rrh119_203_, businesspa0_.em_cactal_emp_no AS em_cac120_203_, businesspa0_.em_cactal_emp_relationship_no AS em_cac121_203_, businesspa0_.em_obwpl_bp_block_pickinglist AS em_obw122_203_, businesspa0_.em_pruti_addbp AS em_pru123_203_, businesspa0_.em_prpass_generatepassemployee AS em_prp124_203_, businesspa0_.em_rrhh_mainworkstation_id AS em_rrh125_203_, businesspa0_.em_rrhh_bp_transfer_code AS em_rrh126_203_, businesspa0_.em_obtik_tax_id_key AS em_obt127_203_ FROM c_bpartner businesspa0_ WHERE (upper ((businesspa0_.value || '' || businesspa0_.name || '' || COALESCE (to_char (businesspa0_.taxid), '') || '' || COALESCE (to_char (businesspa0_.name2), ''))) LIKE upper ('') ESCAPE '') AND (EXISTS ( SELECT 0 FROM c_order order1_ INNER JOIN c_bpartner businesspa2_ ON order1_.c_bpartner_id = businesspa2_.c_bpartner_id CROSS JOIN c_doctype documentty3_ WHERE order1_.c_doctypetarget_id = documentty3_.c_doctype_id AND order1_.issotrx = '' AND documentty3_.isreturn = '' AND businesspa2_.c_bpartner_id = businesspa0_.c_bpartner_id AND (order1_.ad_org_id IN (...)) AND (order1_.ad_client_id IN (...)))) ORDER BY businesspa0_.value, businesspa0_.name, businesspa0_.taxid, businesspa0_.name2 LIMIT '';Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 15 07 1 5s908ms 5s908ms 08 10 1m48s 10s835ms 09 3 17s84ms 5s694ms 10 3 19s286ms 6s428ms 11 7 45s803ms 6s543ms 12 5 30s451ms 6s90ms 13 3 18s324ms 6s108ms [ User: tad - Total duration: 4m5s - Times executed: 32 ]
[ Application: openbravo - Total duration: 4m5s - Times executed: 32 ]
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%A%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN C_BPartner businesspa2_ ON order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID CROSS JOIN C_DocType documentty3_ WHERE order1_.C_DocTypeTarget_ID = documentty3_.C_DocType_ID AND order1_.IsSOTrx = 'N' AND documentty3_.IsReturn = 'N' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%AL%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN C_BPartner businesspa2_ ON order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID CROSS JOIN C_DocType documentty3_ WHERE order1_.C_DocTypeTarget_ID = documentty3_.C_DocType_ID AND order1_.IsSOTrx = 'N' AND documentty3_.IsReturn = 'N' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
-
SELECT businesspa0_.C_BPartner_ID AS C_BPartn1_203_, businesspa0_.AD_Client_ID AS AD_Clien2_203_, businesspa0_.AD_Org_ID AS AD_Org_I3_203_, businesspa0_.IsActive AS IsActive4_203_, businesspa0_.Created AS Created5_203_, businesspa0_.CreatedBy AS CreatedB6_203_, businesspa0_.Updated AS Updated7_203_, businesspa0_.UpdatedBy AS UpdatedB8_203_, businesspa0_.Value AS Value9_203_, businesspa0_.Name AS Name10_203_, businesspa0_.Name2 AS Name11_203_, businesspa0_.Description AS Descrip12_203_, businesspa0_.IsSummary AS IsSumma13_203_, businesspa0_.C_BP_Group_ID AS C_BP_Gr14_203_, businesspa0_.IsOneTime AS IsOneTi15_203_, businesspa0_.IsProspect AS IsProsp16_203_, businesspa0_.IsVendor AS IsVendo17_203_, businesspa0_.IsCustomer AS IsCusto18_203_, businesspa0_.IsEmployee AS IsEmplo19_203_, businesspa0_.IsSalesRep AS IsSales20_203_, businesspa0_.ReferenceNo AS Referen21_203_, businesspa0_.DUNS AS DUNS22_203_, businesspa0_.URL AS URL23_203_, businesspa0_.AD_Language AS AD_Lang24_203_, businesspa0_.TaxID AS TaxID25_203_, businesspa0_.IsTaxExempt AS IsTaxEx26_203_, businesspa0_.C_InvoiceSchedule_ID AS C_Invoi27_203_, businesspa0_.Rating AS Rating28_203_, businesspa0_.SalesVolume AS SalesVo29_203_, businesspa0_.NumberEmployees AS NumberE30_203_, businesspa0_.NAICS AS NAICS31_203_, businesspa0_.FirstSale AS FirstSa32_203_, businesspa0_.AcqusitionCost AS Acqusit33_203_, businesspa0_.PotentialLifeTimeValue AS Potenti34_203_, businesspa0_.ActualLifeTimeValue AS ActualL35_203_, businesspa0_.ShareOfCustomer AS ShareOf36_203_, businesspa0_.PaymentRule AS Payment37_203_, businesspa0_.SO_CreditLimit AS SO_Cred38_203_, businesspa0_.SO_CreditUsed AS SO_Cred39_203_, businesspa0_.C_PaymentTerm_ID AS C_Payme40_203_, businesspa0_.M_PriceList_ID AS M_Price41_203_, businesspa0_.IsDiscountPrinted AS IsDisco42_203_, businesspa0_.SO_Description AS SO_Desc43_203_, businesspa0_.POReference AS PORefer44_203_, businesspa0_.PaymentRulePO AS Payment45_203_, businesspa0_.PO_PriceList_ID AS PO_Pric46_203_, businesspa0_.PO_PaymentTerm_ID AS PO_Paym47_203_, businesspa0_.DocumentCopies AS Documen48_203_, businesspa0_.C_Greeting_ID AS C_Greet49_203_, businesspa0_.InvoiceRule AS Invoice50_203_, businesspa0_.DeliveryRule AS Deliver51_203_, businesspa0_.DeliveryViaRule AS Deliver52_203_, businesspa0_.SalesRep_ID AS SalesRe53_203_, businesspa0_.BPartner_Parent_ID AS BPartne54_203_, businesspa0_.SOCreditStatus AS SOCredi55_203_, businesspa0_.AD_Forced_Org_ID AS AD_Forc56_203_, businesspa0_.ShowPriceInOrder AS ShowPri57_203_, businesspa0_.Invoicegrouping AS Invoice58_203_, businesspa0_.FixMonthDay AS FixMont59_203_, businesspa0_.FixMonthDay2 AS FixMont60_203_, businesspa0_.Fixmonthday3 AS Fixmont61_203_, businesspa0_.Isworker AS Isworke62_203_, businesspa0_.UPC AS UPC63_203_, businesspa0_.C_Salary_Category_ID AS C_Salar64_203_, businesspa0_.Invoice_Printformat AS Invoice65_203_, businesspa0_.Last_Days AS Last_Da66_203_, businesspa0_.PO_Bankaccount_ID AS PO_Bank67_203_, businesspa0_.PO_BP_TaxCategory_ID AS PO_BP_T68_203_, businesspa0_.PO_Fixmonthday AS PO_Fixm69_203_, businesspa0_.PO_Fixmonthday2 AS PO_Fixm70_203_, businesspa0_.PO_Fixmonthday3 AS PO_Fixm71_203_, businesspa0_.SO_Bankaccount_ID AS SO_Bank72_203_, businesspa0_.SO_Bp_Taxcategory_ID AS SO_Bp_T73_203_, businesspa0_.Fiscalcode AS Fiscalc74_203_, businesspa0_.Isofiscalcode AS Isofisc75_203_, businesspa0_.EM_Einv_Einvoice AS EM_Einv76_203_, businesspa0_.PO_C_Incoterms_ID AS PO_C_In77_203_, businesspa0_.EM_Einv_Format_Id AS EM_Einv78_203_, businesspa0_.SO_C_Incoterms_ID AS SO_C_In79_203_, businesspa0_.EM_Einv_Platform_Id AS EM_Einv80_203_, businesspa0_.FIN_Paymentmethod_ID AS FIN_Pay81_203_, businesspa0_.EM_Einv_Email AS EM_Einv82_203_, businesspa0_.PO_Paymentmethod_ID AS PO_Paym83_203_, businesspa0_.FIN_Financial_Account_ID AS FIN_Fin84_203_, businesspa0_.EM_Einv_Deliverymode AS EM_Einv85_203_, businesspa0_.PO_Financial_Account_ID AS PO_Fina86_203_, businesspa0_.Customer_Blocking AS Custome87_203_, businesspa0_.Vendor_Blocking AS Vendor_88_203_, businesspa0_.SO_Payment_Blocking AS SO_Paym89_203_, businesspa0_.PO_Payment_Blocking AS PO_Paym90_203_, businesspa0_.SO_Invoice_Blocking AS SO_Invo91_203_, businesspa0_.PO_Invoice_Blocking AS PO_Invo92_203_, businesspa0_.SO_Order_Blocking AS SO_Orde93_203_, businesspa0_.PO_Order_Blocking AS PO_Orde94_203_, businesspa0_.SO_Goods_Blocking AS SO_Good95_203_, businesspa0_.PO_Goods_Blocking AS PO_Good96_203_, businesspa0_.Iscashvat AS Iscashv97_203_, businesspa0_.EM_Advcrm_Newactivity AS EM_Advc98_203_, businesspa0_.Update_Currency AS Update_99_203_, businesspa0_.BP_Currency_ID AS BP_Cur100_203_, businesspa0_.Birthplace AS Birthp101_203_, businesspa0_.Birthday AS Birthd102_203_, businesspa0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_203_, businesspa0_.Is_Customer_Consent AS Is_Cus104_203_, businesspa0_.EM_OBSMAIL_INVOICEVIAEMAIL AS EM_OBS105_203_, businesspa0_.EM_Obsepad_Mandate_Identifier AS EM_Obs106_203_, businesspa0_.EM_Obsmail_Language AS EM_Obs107_203_, businesspa0_.EM_Obsepad_Mandate_Date AS EM_Obs108_203_, businesspa0_.EM_Aeatsii_Rep_Taxid AS EM_Aea109_203_, businesspa0_.EM_Aeatsii_Menor AS EM_Aea110_203_, businesspa0_.EM_Pricm_Isintercompany AS EM_Pri111_203_, businesspa0_.EM_Psat_Billtobpartner_ID AS EM_Psa112_203_, businesspa0_.EM_Psat_Locator_ID AS EM_Psa113_203_, businesspa0_.EM_Psat_Mobile_Request AS EM_Psa114_203_, businesspa0_.EM_Prges_Glitem_ID AS EM_Prg115_203_, businesspa0_.EM_Rrhh_Exemployee AS EM_Rrh116_203_, businesspa0_.EM_Rrhh_Candidate AS EM_Rrh117_203_, businesspa0_.EM_Prpass_No_Print_Pass AS EM_Prp118_203_, businesspa0_.EM_Rrhh_Holidays_Supervisor AS EM_Rrh119_203_, businesspa0_.EM_Cactal_Emp_No AS EM_Cac120_203_, businesspa0_.EM_Cactal_Emp_Relationship_No AS EM_Cac121_203_, businesspa0_.EM_Obwpl_Bp_Block_Pickinglist AS EM_Obw122_203_, businesspa0_.EM_Pruti_Addbp AS EM_Pru123_203_, businesspa0_.EM_Prpass_Generatepassemployee AS EM_Prp124_203_, businesspa0_.EM_Rrhh_Mainworkstation_ID AS EM_Rrh125_203_, businesspa0_.EM_Rrhh_Bp_Transfer_Code AS EM_Rrh126_203_, businesspa0_.EM_OBTIK_Tax_ID_Key AS EM_OBT127_203_ FROM C_BPartner businesspa0_ WHERE (upper ((businesspa0_.Value || ' - ' || businesspa0_.Name || ' - ' || COALESCE (to_char (businesspa0_.TaxID), '') || ' - ' || COALESCE (to_char (businesspa0_.Name2), ''))) LIKE upper ('%d%') ESCAPE '|') AND (EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN C_BPartner businesspa2_ ON order1_.C_BPartner_ID = businesspa2_.C_BPartner_ID CROSS JOIN C_DocType documentty3_ WHERE order1_.C_DocTypeTarget_ID = documentty3_.C_DocType_ID AND order1_.IsSOTrx = 'N' AND documentty3_.IsReturn = 'N' AND businesspa2_.C_BPartner_ID = businesspa0_.C_BPartner_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')))) ORDER BY businesspa0_.Value, businesspa0_.Name, businesspa0_.TaxID, businesspa0_.Name2 LIMIT '76';
Date: 2026-07-15 08:40:19 Duration: 29s860ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 08:40:19 Duration: 29s612ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 11:44:54 Duration: 7s823ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
17 5s2ms 11s994ms 7s600ms 13 1m38s SELECT obpos_appl0_.obpos_applications_id AS obpos_ap1_706_, obpos_appl0_.ad_client_id AS ad_clien2_706_, obpos_appl0_.ad_org_id AS ad_org_i3_706_, obpos_appl0_.isactive AS isactive4_706_, obpos_appl0_.created AS created5_706_, obpos_appl0_.createdby AS createdb6_706_, obpos_appl0_.updated AS updated7_706_, obpos_appl0_.updatedby AS updatedb8_706_, obpos_appl0_.value AS value9_706_, obpos_appl0_.name AS name10_706_, obpos_appl0_.hardwareurl AS hardwar11_706_, obpos_appl0_.scaleurl AS scaleur12_706_, obpos_appl0_.orderdocno_prefix AS orderdo13_706_, obpos_appl0_.obpos_terminaltype_id AS obpos_t14_706_, obpos_appl0_.quotationdocno_prefix AS quotati15_706_, obpos_appl0_.defaultwebpostab AS default16_706_, obpos_appl0_.c_bpartner_id AS c_bpart17_706_, obpos_appl0_.obpos_c_bpartner_loc_id AS obpos_c18_706_, obpos_appl0_.printoffline AS printof19_706_, obpos_appl0_.em_obposcs_copy_terminal AS em_obpo20_706_, obpos_appl0_.terminal_key_id AS termina21_706_, obpos_appl0_.islinked AS islinke22_706_, obpos_appl0_.unlinkdevice AS unlinkd23_706_, obpos_appl0_.lastassignednum AS lastass24_706_, obpos_appl0_.ismaster AS ismaste25_706_, obpos_appl0_.masterterminal_id AS mastert26_706_, obpos_appl0_.quotationslastassignednum AS quotati27_706_, obpos_appl0_.current_cache_session_id AS current28_706_, obpos_appl0_.returndocno_prefix AS returnd29_706_, obpos_appl0_.returnslastassignednum AS returns30_706_, obpos_appl0_.terminal_lastincrefresh AS termina31_706_, obpos_appl0_.terminal_lastfullrefresh AS termina32_706_, obpos_appl0_.terminal_lastcachegeneration AS termina33_706_, obpos_appl0_.terminal_lastjsgeneration AS termina34_706_, obpos_appl0_.openhardwareurl AS openhar35_706_, obpos_appl0_.terminal_lastlogindate AS termina36_706_, obpos_appl0_.terminal_lastloginuser AS termina37_706_, obpos_appl0_.terminal_lastbenchmark AS termina38_706_, obpos_appl0_.terminal_lastordersynchronized AS termina39_706_, obpos_appl0_.terminal_lastcashupcompleted AS termina40_706_, obpos_appl0_.terminal_lastticketloaded AS termina41_706_, obpos_appl0_.terminal_lasttimeinoffline AS termina42_706_, obpos_appl0_.terminal_lasttimeinonline AS termina43_706_, obpos_appl0_.documentno_padding AS documen44_706_, obpos_appl0_.terminal_lasthwmversion AS termina45_706_, obpos_appl0_.terminal_lasthwmrevision AS termina46_706_, obpos_appl0_.terminal_lasthwmjavainfo AS termina47_706_, obpos_appl0_.printertype AS printer48_706_, obpos_appl0_.em_prpass_autovalidation AS em_prpa49_706_, obpos_appl0_.em_fstbrw_config_id AS em_fstb50_706_, obpos_appl0_.simpinvdocno_prefix AS simpinv51_706_, obpos_appl0_.em_prres_ask_responsible AS em_prre52_706_, obpos_appl0_.simpinvlastassignednum AS simpinv53_706_, obpos_appl0_.em_prres_res_loc_selection AS em_prre54_706_, obpos_appl0_.fullinvdocno_prefix AS fullinv55_706_, obpos_appl0_.em_prres_bill_printer AS em_prre56_706_, obpos_appl0_.fullinvlastassignednum AS fullinv57_706_, obpos_appl0_.em_prpass_no_print_ticket AS em_prpa58_706_, obpos_appl0_.simpretinvdocno_prefix AS simpret59_706_, obpos_appl0_.simpretinvlastassignednum AS simpret60_706_, obpos_appl0_.fullretinvdocno_prefix AS fullret61_706_, obpos_appl0_.fullretinvlastassignednum AS fullret62_706_ FROM obpos_applications obpos_appl0_ WHERE EXISTS ( SELECT 0 FROM c_order order1_ INNER JOIN obpos_applications obpos_appl2_ ON order1_.em_obpos_applications_id = obpos_appl2_.obpos_applications_id CROSS JOIN c_doctype documentty4_ WHERE order1_.c_doctypetarget_id = documentty4_.c_doctype_id AND (upper (obpos_appl2_.name) LIKE upper ('') ESCAPE '') AND order1_.issotrx = '' AND documentty4_.isreturn = '' AND (documentty4_.docsubtypeso NOT LIKE '') AND obpos_appl2_.obpos_applications_id = obpos_appl0_.obpos_applications_id AND (order1_.ad_org_id IN (...)) AND (order1_.ad_client_id IN (...))) ORDER BY obpos_appl0_.name LIMIT '';Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 15 10 5 31s884ms 6s376ms 13 8 1m6s 8s364ms [ User: tad - Total duration: 1m38s - Times executed: 13 ]
[ Application: openbravo - Total duration: 1m38s - Times executed: 13 ]
-
SELECT obpos_appl0_.Obpos_Applications_ID AS Obpos_Ap1_706_, obpos_appl0_.AD_Client_ID AS AD_Clien2_706_, obpos_appl0_.AD_Org_ID AS AD_Org_I3_706_, obpos_appl0_.Isactive AS Isactive4_706_, obpos_appl0_.Created AS Created5_706_, obpos_appl0_.Createdby AS Createdb6_706_, obpos_appl0_.Updated AS Updated7_706_, obpos_appl0_.Updatedby AS Updatedb8_706_, obpos_appl0_.Value AS Value9_706_, obpos_appl0_.Name AS Name10_706_, obpos_appl0_.Hardwareurl AS Hardwar11_706_, obpos_appl0_.Scaleurl AS Scaleur12_706_, obpos_appl0_.Orderdocno_Prefix AS Orderdo13_706_, obpos_appl0_.Obpos_Terminaltype_ID AS Obpos_T14_706_, obpos_appl0_.Quotationdocno_Prefix AS Quotati15_706_, obpos_appl0_.Defaultwebpostab AS Default16_706_, obpos_appl0_.C_Bpartner_ID AS C_Bpart17_706_, obpos_appl0_.Obpos_C_Bpartner_Loc_ID AS Obpos_C18_706_, obpos_appl0_.Printoffline AS Printof19_706_, obpos_appl0_.EM_Obposcs_Copy_Terminal AS EM_Obpo20_706_, obpos_appl0_.Terminal_Key_ID AS Termina21_706_, obpos_appl0_.Islinked AS Islinke22_706_, obpos_appl0_.Unlinkdevice AS Unlinkd23_706_, obpos_appl0_.Lastassignednum AS Lastass24_706_, obpos_appl0_.Ismaster AS Ismaste25_706_, obpos_appl0_.Masterterminal_ID AS Mastert26_706_, obpos_appl0_.Quotationslastassignednum AS Quotati27_706_, obpos_appl0_.Current_Cache_Session_ID AS Current28_706_, obpos_appl0_.Returndocno_Prefix AS Returnd29_706_, obpos_appl0_.Returnslastassignednum AS Returns30_706_, obpos_appl0_.Terminal_Lastincrefresh AS Termina31_706_, obpos_appl0_.Terminal_Lastfullrefresh AS Termina32_706_, obpos_appl0_.Terminal_Lastcachegeneration AS Termina33_706_, obpos_appl0_.Terminal_Lastjsgeneration AS Termina34_706_, obpos_appl0_.OPENHARDWAREURL AS OPENHAR35_706_, obpos_appl0_.Terminal_Lastlogindate AS Termina36_706_, obpos_appl0_.Terminal_Lastloginuser AS Termina37_706_, obpos_appl0_.Terminal_Lastbenchmark AS Termina38_706_, obpos_appl0_.Terminal_Lastordersynchronized AS Termina39_706_, obpos_appl0_.Terminal_Lastcashupcompleted AS Termina40_706_, obpos_appl0_.Terminal_Lastticketloaded AS Termina41_706_, obpos_appl0_.Terminal_Lasttimeinoffline AS Termina42_706_, obpos_appl0_.Terminal_Lasttimeinonline AS Termina43_706_, obpos_appl0_.Documentno_Padding AS Documen44_706_, obpos_appl0_.Terminal_Lasthwmversion AS Termina45_706_, obpos_appl0_.Terminal_Lasthwmrevision AS Termina46_706_, obpos_appl0_.Terminal_Lasthwmjavainfo AS Termina47_706_, obpos_appl0_.Printertype AS Printer48_706_, obpos_appl0_.EM_Prpass_Autovalidation AS EM_Prpa49_706_, obpos_appl0_.EM_Fstbrw_Config_ID AS EM_Fstb50_706_, obpos_appl0_.Simpinvdocno_Prefix AS Simpinv51_706_, obpos_appl0_.EM_Prres_Ask_Responsible AS EM_Prre52_706_, obpos_appl0_.Simpinvlastassignednum AS Simpinv53_706_, obpos_appl0_.EM_Prres_Res_Loc_Selection AS EM_Prre54_706_, obpos_appl0_.Fullinvdocno_Prefix AS Fullinv55_706_, obpos_appl0_.EM_Prres_Bill_Printer AS EM_Prre56_706_, obpos_appl0_.Fullinvlastassignednum AS Fullinv57_706_, obpos_appl0_.EM_Prpass_No_Print_Ticket AS EM_Prpa58_706_, obpos_appl0_.Simpretinvdocno_Prefix AS Simpret59_706_, obpos_appl0_.Simpretinvlastassignednum AS Simpret60_706_, obpos_appl0_.Fullretinvdocno_Prefix AS Fullret61_706_, obpos_appl0_.Fullretinvlastassignednum AS Fullret62_706_ FROM OBPOS_APPLICATIONS obpos_appl0_ WHERE EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN OBPOS_APPLICATIONS obpos_appl2_ ON order1_.EM_Obpos_Applications_ID = obpos_appl2_.Obpos_Applications_ID CROSS JOIN C_DocType documentty4_ WHERE order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID AND (upper (obpos_appl2_.Name) LIKE upper ('%m%') ESCAPE '|') AND order1_.IsSOTrx = 'Y' AND documentty4_.IsReturn = 'N' AND (documentty4_.DocSubTypeSO NOT LIKE 'OB') AND obpos_appl2_.Obpos_Applications_ID = obpos_appl0_.Obpos_Applications_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY obpos_appl0_.Name LIMIT '76';
-
SELECT obpos_appl0_.Obpos_Applications_ID AS Obpos_Ap1_706_, obpos_appl0_.AD_Client_ID AS AD_Clien2_706_, obpos_appl0_.AD_Org_ID AS AD_Org_I3_706_, obpos_appl0_.Isactive AS Isactive4_706_, obpos_appl0_.Created AS Created5_706_, obpos_appl0_.Createdby AS Createdb6_706_, obpos_appl0_.Updated AS Updated7_706_, obpos_appl0_.Updatedby AS Updatedb8_706_, obpos_appl0_.Value AS Value9_706_, obpos_appl0_.Name AS Name10_706_, obpos_appl0_.Hardwareurl AS Hardwar11_706_, obpos_appl0_.Scaleurl AS Scaleur12_706_, obpos_appl0_.Orderdocno_Prefix AS Orderdo13_706_, obpos_appl0_.Obpos_Terminaltype_ID AS Obpos_T14_706_, obpos_appl0_.Quotationdocno_Prefix AS Quotati15_706_, obpos_appl0_.Defaultwebpostab AS Default16_706_, obpos_appl0_.C_Bpartner_ID AS C_Bpart17_706_, obpos_appl0_.Obpos_C_Bpartner_Loc_ID AS Obpos_C18_706_, obpos_appl0_.Printoffline AS Printof19_706_, obpos_appl0_.EM_Obposcs_Copy_Terminal AS EM_Obpo20_706_, obpos_appl0_.Terminal_Key_ID AS Termina21_706_, obpos_appl0_.Islinked AS Islinke22_706_, obpos_appl0_.Unlinkdevice AS Unlinkd23_706_, obpos_appl0_.Lastassignednum AS Lastass24_706_, obpos_appl0_.Ismaster AS Ismaste25_706_, obpos_appl0_.Masterterminal_ID AS Mastert26_706_, obpos_appl0_.Quotationslastassignednum AS Quotati27_706_, obpos_appl0_.Current_Cache_Session_ID AS Current28_706_, obpos_appl0_.Returndocno_Prefix AS Returnd29_706_, obpos_appl0_.Returnslastassignednum AS Returns30_706_, obpos_appl0_.Terminal_Lastincrefresh AS Termina31_706_, obpos_appl0_.Terminal_Lastfullrefresh AS Termina32_706_, obpos_appl0_.Terminal_Lastcachegeneration AS Termina33_706_, obpos_appl0_.Terminal_Lastjsgeneration AS Termina34_706_, obpos_appl0_.OPENHARDWAREURL AS OPENHAR35_706_, obpos_appl0_.Terminal_Lastlogindate AS Termina36_706_, obpos_appl0_.Terminal_Lastloginuser AS Termina37_706_, obpos_appl0_.Terminal_Lastbenchmark AS Termina38_706_, obpos_appl0_.Terminal_Lastordersynchronized AS Termina39_706_, obpos_appl0_.Terminal_Lastcashupcompleted AS Termina40_706_, obpos_appl0_.Terminal_Lastticketloaded AS Termina41_706_, obpos_appl0_.Terminal_Lasttimeinoffline AS Termina42_706_, obpos_appl0_.Terminal_Lasttimeinonline AS Termina43_706_, obpos_appl0_.Documentno_Padding AS Documen44_706_, obpos_appl0_.Terminal_Lasthwmversion AS Termina45_706_, obpos_appl0_.Terminal_Lasthwmrevision AS Termina46_706_, obpos_appl0_.Terminal_Lasthwmjavainfo AS Termina47_706_, obpos_appl0_.Printertype AS Printer48_706_, obpos_appl0_.EM_Prpass_Autovalidation AS EM_Prpa49_706_, obpos_appl0_.EM_Fstbrw_Config_ID AS EM_Fstb50_706_, obpos_appl0_.Simpinvdocno_Prefix AS Simpinv51_706_, obpos_appl0_.EM_Prres_Ask_Responsible AS EM_Prre52_706_, obpos_appl0_.Simpinvlastassignednum AS Simpinv53_706_, obpos_appl0_.EM_Prres_Res_Loc_Selection AS EM_Prre54_706_, obpos_appl0_.Fullinvdocno_Prefix AS Fullinv55_706_, obpos_appl0_.EM_Prres_Bill_Printer AS EM_Prre56_706_, obpos_appl0_.Fullinvlastassignednum AS Fullinv57_706_, obpos_appl0_.EM_Prpass_No_Print_Ticket AS EM_Prpa58_706_, obpos_appl0_.Simpretinvdocno_Prefix AS Simpret59_706_, obpos_appl0_.Simpretinvlastassignednum AS Simpret60_706_, obpos_appl0_.Fullretinvdocno_Prefix AS Fullret61_706_, obpos_appl0_.Fullretinvlastassignednum AS Fullret62_706_ FROM OBPOS_APPLICATIONS obpos_appl0_ WHERE EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN OBPOS_APPLICATIONS obpos_appl2_ ON order1_.EM_Obpos_Applications_ID = obpos_appl2_.Obpos_Applications_ID CROSS JOIN C_DocType documentty4_ WHERE order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID AND (upper (obpos_appl2_.Name) LIKE upper ('%mo%') ESCAPE '|') AND order1_.IsSOTrx = 'Y' AND documentty4_.IsReturn = 'N' AND (documentty4_.DocSubTypeSO NOT LIKE 'OB') AND obpos_appl2_.Obpos_Applications_ID = obpos_appl0_.Obpos_Applications_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY obpos_appl0_.Name LIMIT '76';
-
SELECT obpos_appl0_.Obpos_Applications_ID AS Obpos_Ap1_706_, obpos_appl0_.AD_Client_ID AS AD_Clien2_706_, obpos_appl0_.AD_Org_ID AS AD_Org_I3_706_, obpos_appl0_.Isactive AS Isactive4_706_, obpos_appl0_.Created AS Created5_706_, obpos_appl0_.Createdby AS Createdb6_706_, obpos_appl0_.Updated AS Updated7_706_, obpos_appl0_.Updatedby AS Updatedb8_706_, obpos_appl0_.Value AS Value9_706_, obpos_appl0_.Name AS Name10_706_, obpos_appl0_.Hardwareurl AS Hardwar11_706_, obpos_appl0_.Scaleurl AS Scaleur12_706_, obpos_appl0_.Orderdocno_Prefix AS Orderdo13_706_, obpos_appl0_.Obpos_Terminaltype_ID AS Obpos_T14_706_, obpos_appl0_.Quotationdocno_Prefix AS Quotati15_706_, obpos_appl0_.Defaultwebpostab AS Default16_706_, obpos_appl0_.C_Bpartner_ID AS C_Bpart17_706_, obpos_appl0_.Obpos_C_Bpartner_Loc_ID AS Obpos_C18_706_, obpos_appl0_.Printoffline AS Printof19_706_, obpos_appl0_.EM_Obposcs_Copy_Terminal AS EM_Obpo20_706_, obpos_appl0_.Terminal_Key_ID AS Termina21_706_, obpos_appl0_.Islinked AS Islinke22_706_, obpos_appl0_.Unlinkdevice AS Unlinkd23_706_, obpos_appl0_.Lastassignednum AS Lastass24_706_, obpos_appl0_.Ismaster AS Ismaste25_706_, obpos_appl0_.Masterterminal_ID AS Mastert26_706_, obpos_appl0_.Quotationslastassignednum AS Quotati27_706_, obpos_appl0_.Current_Cache_Session_ID AS Current28_706_, obpos_appl0_.Returndocno_Prefix AS Returnd29_706_, obpos_appl0_.Returnslastassignednum AS Returns30_706_, obpos_appl0_.Terminal_Lastincrefresh AS Termina31_706_, obpos_appl0_.Terminal_Lastfullrefresh AS Termina32_706_, obpos_appl0_.Terminal_Lastcachegeneration AS Termina33_706_, obpos_appl0_.Terminal_Lastjsgeneration AS Termina34_706_, obpos_appl0_.OPENHARDWAREURL AS OPENHAR35_706_, obpos_appl0_.Terminal_Lastlogindate AS Termina36_706_, obpos_appl0_.Terminal_Lastloginuser AS Termina37_706_, obpos_appl0_.Terminal_Lastbenchmark AS Termina38_706_, obpos_appl0_.Terminal_Lastordersynchronized AS Termina39_706_, obpos_appl0_.Terminal_Lastcashupcompleted AS Termina40_706_, obpos_appl0_.Terminal_Lastticketloaded AS Termina41_706_, obpos_appl0_.Terminal_Lasttimeinoffline AS Termina42_706_, obpos_appl0_.Terminal_Lasttimeinonline AS Termina43_706_, obpos_appl0_.Documentno_Padding AS Documen44_706_, obpos_appl0_.Terminal_Lasthwmversion AS Termina45_706_, obpos_appl0_.Terminal_Lasthwmrevision AS Termina46_706_, obpos_appl0_.Terminal_Lasthwmjavainfo AS Termina47_706_, obpos_appl0_.Printertype AS Printer48_706_, obpos_appl0_.EM_Prpass_Autovalidation AS EM_Prpa49_706_, obpos_appl0_.EM_Fstbrw_Config_ID AS EM_Fstb50_706_, obpos_appl0_.Simpinvdocno_Prefix AS Simpinv51_706_, obpos_appl0_.EM_Prres_Ask_Responsible AS EM_Prre52_706_, obpos_appl0_.Simpinvlastassignednum AS Simpinv53_706_, obpos_appl0_.EM_Prres_Res_Loc_Selection AS EM_Prre54_706_, obpos_appl0_.Fullinvdocno_Prefix AS Fullinv55_706_, obpos_appl0_.EM_Prres_Bill_Printer AS EM_Prre56_706_, obpos_appl0_.Fullinvlastassignednum AS Fullinv57_706_, obpos_appl0_.EM_Prpass_No_Print_Ticket AS EM_Prpa58_706_, obpos_appl0_.Simpretinvdocno_Prefix AS Simpret59_706_, obpos_appl0_.Simpretinvlastassignednum AS Simpret60_706_, obpos_appl0_.Fullretinvdocno_Prefix AS Fullret61_706_, obpos_appl0_.Fullretinvlastassignednum AS Fullret62_706_ FROM OBPOS_APPLICATIONS obpos_appl0_ WHERE EXISTS ( SELECT 1 FROM C_Order order1_ INNER JOIN OBPOS_APPLICATIONS obpos_appl2_ ON order1_.EM_Obpos_Applications_ID = obpos_appl2_.Obpos_Applications_ID CROSS JOIN C_DocType documentty4_ WHERE order1_.C_DocTypeTarget_ID = documentty4_.C_DocType_ID AND (upper (obpos_appl2_.Name) LIKE upper ('%m%') ESCAPE '|') AND order1_.IsSOTrx = 'Y' AND documentty4_.IsReturn = 'N' AND (documentty4_.DocSubTypeSO NOT LIKE 'OB') AND obpos_appl2_.Obpos_Applications_ID = obpos_appl0_.Obpos_Applications_ID AND (order1_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order1_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0'))) ORDER BY obpos_appl0_.Name LIMIT '76';
Date: 2026-07-15 13:30:54 Duration: 11s994ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:30:54 Duration: 11s99ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:31:37 Duration: 10s796ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
18 5s626ms 13s191ms 7s124ms 15 1m46s SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.documentno DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 15 11 6 43s39ms 7s173ms 12 5 35s36ms 7s7ms 13 1 5s853ms 5s853ms 14 3 22s934ms 7s644ms [ User: tad - Total duration: 1m46s - Times executed: 15 ]
[ Application: openbravo - Total duration: 1m46s - Times executed: 15 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 11:34:34.949' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 12:19:49.591' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 14:52:55.852' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', '6FA42D7B78034BD8994E9BA7F2CA2281', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '71ED1EFD88354240BB0412C35E03BF1C', '1C36F5B48E224E4D9C82D6A8202996E8', '88CD22344C324943BF5200E06A942459', '9F797A8A00FC467F90A60E9E62873D59', 'F22E1A745C4C42BCA2386BF8DC013634', 'D19EF13F20CD471BB6F6664909C352AF', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DocumentNo DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 11:34:48 Duration: 13s191ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:20:01 Duration: 11s426ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 14:53:07 Duration: 11s341ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
19 5s521ms 12s760ms 6s903ms 16 1m50s SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ INNER JOIN m_warehouse warehouse1_ ON order0_.m_warehouse_id = warehouse1_.m_warehouse_id CROSS JOIN c_doctype documentty2_ WHERE order0_.c_doctypetarget_id = documentty2_.c_doctype_id AND order0_.issotrx = '' AND documentty2_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY warehouse1_.name DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 15 08 3 17s375ms 5s791ms 09 1 12s760ms 12s760ms 10 2 11s158ms 5s579ms 11 1 5s736ms 5s736ms 12 5 29s924ms 5s984ms 13 4 33s498ms 8s374ms [ User: tad - Total duration: 1m50s - Times executed: 16 ]
[ Application: openbravo - Total duration: 1m50s - Times executed: 16 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ INNER JOIN M_Warehouse warehouse1_ ON order0_.M_Warehouse_ID = warehouse1_.M_Warehouse_ID CROSS JOIN C_DocType documentty2_ WHERE order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty2_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 09:49:40.916' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY warehouse1_.Name DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ INNER JOIN M_Warehouse warehouse1_ ON order0_.M_Warehouse_ID = warehouse1_.M_Warehouse_ID CROSS JOIN C_DocType documentty2_ WHERE order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty2_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 13:21:28.804' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY warehouse1_.Name DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ INNER JOIN M_Warehouse warehouse1_ ON order0_.M_Warehouse_ID = warehouse1_.M_Warehouse_ID CROSS JOIN C_DocType documentty2_ WHERE order0_.C_DocTypeTarget_ID = documentty2_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty2_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 13:51:17.894' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY warehouse1_.Name DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 09:49:53 Duration: 12s760ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:21:39 Duration: 10s693ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 13:51:28 Duration: 10s686ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
20 5s607ms 11s289ms 6s710ms 28 3m7s SELECT order0_.c_order_id AS c_order_1_276_, order0_.ad_client_id AS ad_clien2_276_, order0_.ad_org_id AS ad_org_i3_276_, order0_.isactive AS isactive4_276_, order0_.created AS created5_276_, order0_.createdby AS createdb6_276_, order0_.updated AS updated7_276_, order0_.updatedby AS updatedb8_276_, order0_.issotrx AS issotrx9_276_, order0_.documentno AS documen10_276_, order0_.docstatus AS docstat11_276_, order0_.docaction AS docacti12_276_, order0_.processing AS process13_276_, order0_.processed AS process14_276_, order0_.c_doctype_id AS c_docty15_276_, order0_.c_doctypetarget_id AS c_docty16_276_, order0_.description AS descrip17_276_, order0_.isdelivered AS isdeliv18_276_, order0_.isinvoiced AS isinvoi19_276_, order0_.isprinted AS isprint20_276_, order0_.isselected AS isselec21_276_, order0_.salesrep_id AS salesre22_276_, order0_.dateordered AS dateord23_276_, order0_.datepromised AS datepro24_276_, order0_.dateprinted AS datepri25_276_, order0_.dateacct AS dateacc26_276_, order0_.c_bpartner_id AS c_bpart27_276_, order0_.billto_id AS billto_28_276_, order0_.c_bpartner_location_id AS c_bpart29_276_, order0_.poreference AS porefer30_276_, order0_.isdiscountprinted AS isdisco31_276_, order0_.c_currency_id AS c_curre32_276_, order0_.paymentrule AS payment33_276_, order0_.c_paymentterm_id AS c_payme34_276_, order0_.invoicerule AS invoice35_276_, order0_.deliveryrule AS deliver36_276_, order0_.freightcostrule AS freight37_276_, order0_.freightamt AS freight38_276_, order0_.deliveryviarule AS deliver39_276_, order0_.m_shipper_id AS m_shipp40_276_, order0_.c_charge_id AS c_charg41_276_, order0_.chargeamt AS chargea42_276_, order0_.priorityrule AS priorit43_276_, order0_.totallines AS totalli44_276_, order0_.grandtotal AS grandto45_276_, order0_.m_warehouse_id AS m_wareh46_276_, order0_.m_pricelist_id AS m_price47_276_, order0_.istaxincluded AS istaxin48_276_, order0_.c_campaign_id AS c_campa49_276_, order0_.c_project_id AS c_proje50_276_, order0_.c_activity_id AS c_activ51_276_, order0_.posted AS posted52_276_, order0_.ad_user_id AS ad_user53_276_, order0_.copyfrom AS copyfro54_276_, order0_.dropship_bpartner_id AS dropshi55_276_, order0_.dropship_location_id AS dropshi56_276_, order0_.dropship_user_id AS dropshi57_276_, order0_.isselfservice AS isselfs58_276_, order0_.ad_orgtrx_id AS ad_orgt59_276_, order0_.user1_id AS user60_276_, order0_.user2_id AS user61_276_, order0_.deliverynotes AS deliver62_276_, order0_.c_incoterms_id AS c_incot63_276_, order0_.incotermsdescription AS incoter64_276_, order0_.generatetemplate AS generat65_276_, order0_.delivery_location_id AS deliver66_276_, order0_.copyfrompo AS copyfro67_276_, order0_.fin_paymentmethod_id AS fin_pay68_276_, order0_.fin_payment_priority_id AS fin_pay69_276_, order0_.rm_pickfromshipment AS rm_pick70_276_, order0_.rm_receivematerials AS rm_rece71_276_, order0_.em_obcma_c_poc_email_id AS em_obcm72_276_, order0_.rm_createinvoice AS rm_crea73_276_, order0_.c_return_reason_id AS c_retur74_276_, order0_.rm_addorphanline AS rm_addo75_276_, order0_.a_asset_id AS a_asset76_276_, order0_.calculate_promotions AS calcula77_276_, order0_.c_costcenter_id AS c_costc78_276_, order0_.convertquotation AS convert79_276_, order0_.c_reject_reason_id AS c_rejec80_276_, order0_.validuntil AS validun81_276_, order0_.quotation_id AS quotati82_276_, order0_.so_res_status AS so_res_83_276_, order0_.create_polines AS create_84_276_, order0_.em_obdisc_addpack AS em_obdi85_276_, order0_.iscashvat AS iscashv86_276_, order0_.em_obmfm_selectfreight AS em_obmf87_276_, order0_.em_obmfm_delivery_period_id AS em_obmf88_276_, order0_.rm_pickfromreceipt AS rm_pick89_276_, order0_.cancelandreplace AS cancela90_276_, order0_.em_advcrm_newactivity AS em_advc91_276_, order0_.em_aprm_addpayment AS em_aprm92_276_, order0_.em_obmfm_delivery_charges AS em_obmf93_276_, order0_.em_obmfm_freight_id AS em_obmf94_276_, order0_.em_obwpl_generatepicking AS em_obwp95_276_, order0_.em_advcrm_opportunity_id AS em_advc96_276_, order0_.em_obmfm_weight AS em_obmf97_276_, order0_.em_obwpl_isinpickinglist AS em_obwp98_276_, order0_.em_rcinv_contractdate AS em_rcin99_276_, order0_.em_obwpl_readypl AS em_obw100_276_, order0_.em_rcinv_initialdate AS em_rci101_276_, order0_.em_rcinv_enddate AS em_rci102_276_, order0_.em_sgpcrm_securitygroups_id AS em_sgp103_276_, order0_.em_obmfm_weight_uom_id AS em_obm104_276_, order0_.em_rcinv_frequency AS em_rci105_276_, order0_.em_obmfm_set_weight AS em_obm106_276_, order0_.em_rcinv_renewautomatically AS em_rci107_276_, order0_.em_aeatsii_fecha_operacion AS em_aea108_276_, order0_.em_ml_select_product AS em_ml_109_276_, order0_.em_rcinv_renovationtimes AS em_rci110_276_, order0_.confirmcancelandreplace AS confir111_276_, order0_.em_aeatsii_descripcion_sii AS em_aea112_276_, order0_.em_obpos_applications_id AS em_obp113_276_, order0_.em_rcinv_freqrenovationtime AS em_rci114_276_, order0_.em_obpos_sendemail AS em_obp115_276_, order0_.em_rcinv_ordercontract_id AS em_rci116_276_, order0_.em_obpos_email_status AS em_obp117_276_, order0_.em_rcinv_freqtime AS em_rci118_276_, order0_.cancelledorder_id AS cancel119_276_, order0_.em_obpos_app_cashup_id AS em_obp120_276_, order0_.em_obpos_createdabsolute AS em_obp121_276_, order0_.replacedorder_id AS replac122_276_, order0_.em_obpos_notinvoiceoncashup AS em_obp123_276_, order0_.em_obpos_rejected_quotat_id AS em_obp124_276_, order0_.em_obpos_isdeleted AS em_obp125_276_, order0_.iscancelled AS iscanc126_276_, order0_.em_obpos_islayaway AS em_obp127_276_, order0_.em_obpos_prepaymentamt AS em_obp128_276_, order0_.replacementorder_id AS replac129_276_, order0_.em_obpos_prepaymentlimitamt AS em_obp130_276_, order0_.em_obpos_prepaymentlaylimitamt AS em_obp131_276_, order0_.em_obpos_rounding_amount AS em_obp132_276_, order0_.bpartner_extref AS bpartn133_276_, order0_.em_obpos_sequencename AS em_obp134_276_, order0_.em_prqc_clauses_selector AS em_prq135_276_, order0_.em_obpos_sequencenumber AS em_obp136_276_, order0_.em_rcinv_cancelcontract AS em_rci137_276_, order0_.em_rcinv_cancelleddate AS em_rci138_276_, order0_.em_rcinv_iscancelled AS em_rci139_276_, order0_.em_psat_activity_id AS em_psa140_276_, order0_.em_obsmail_emailaddress AS em_obs141_276_, order0_.em_prouti_order_stock AS em_pro142_276_, order0_.em_prouti_pregenerate_minout AS em_pro143_276_, order0_.em_prouti_sotopo AS em_pro144_276_, order0_.em_prouti_generate_pick_inv AS em_pro145_276_, order0_.em_pricm_order_id AS em_pri146_276_, order0_.em_prouti_order_id AS em_pro147_276_, order0_.em_prouti_grandtotalinitial AS em_pro148_276_, order0_.em_prouti_dateclosed AS em_pro149_276_, order0_.em_prouti_totallinesinitial AS em_pro150_276_, order0_.em_prouti_changebpartner AS em_pro151_276_, order0_.em_prouti_recalculate_price AS em_pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.em_prouti_pricecalculatetdate AS em_pro154_276_, order0_.em_prqr_execute_purchase AS em_prq155_276_, order0_.em_prouti_reactiveorder AS em_pro156_276_, order0_.em_prqr_return_select_prod AS em_prq157_276_, order0_.em_prouti_totalizations AS em_pro158_276_, order0_.em_prouti_invoiced AS em_pro159_276_, order0_.em_prouti_received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.em_prouti_status_of_review AS em_pro162_276_, order0_.em_prouti_validate_order AS em_pro163_276_, order0_.em_prouti_start_review AS em_pro164_276_, order0_.em_ml_select_product_byattrib AS em_ml_165_276_, order0_.em_prres_reservation_id AS em_prr166_276_, order0_.em_prres_responsible_id AS em_prr167_276_, order0_.em_prres_diners AS em_prr168_276_, order0_.em_prres_sended AS em_prr169_276_, order0_.em_prres_printed AS em_prr170_276_, order0_.em_prouti_initial_bp_id AS em_pro171_276_, order0_.em_prouti_addlines_btn AS em_pro172_276_, order0_.em_prtoma_tomaticket_id AS em_prt173_276_, order0_.em_cactl_iscopy AS em_cac174_276_, order0_.em_prtoma_jsonorder AS em_prt175_276_, order0_.em_prres_paid_on_credit AS em_prr176_276_, order0_.em_prtoma_grossamount AS em_prt177_276_, order0_.em_cactl_internal_notes_group AS em_cac178_276_, order0_.em_prouti_changebpartner_bgt AS em_pro179_276_, order0_.em_prrgr_locator_id AS em_prr180_276_, order0_.em_paytef_transactionreference AS em_pay181_276_, order0_.em_cactl_indirect_cost_id AS em_cac182_276_, order0_.em_cactl_calculate_cost AS em_cac183_276_, order0_.em_cactl_totalcost AS em_cac184_276_, order0_.em_cactl_forceselectedproject AS em_cac185_276_, order0_.em_cactl_verified_return AS em_cac186_276_, order0_.em_cactl_duplicate_budget AS em_cac187_276_, order0_.em_prres_orig_order_id AS em_prr188_276_, order0_.em_prcpr_is_cloned AS em_prc189_276_, order0_.em_prouti_select_soline AS em_pro190_276_, order0_.em_prouti_return_quantity AS em_pro191_276_, order0_.em_prqr_executecredit AS em_prq192_276_, order0_.em_prqr_credit_purchase_id AS em_prq193_276_ FROM c_order order0_ CROSS JOIN c_doctype documentty1_ WHERE order0_.c_doctypetarget_id = documentty1_.c_doctype_id AND order0_.issotrx = '' AND documentty1_.isreturn = '' AND (order0_.updated > '' OR order0_.processed = '') AND (order0_.ad_org_id IN (...)) AND (order0_.ad_client_id IN (...)) ORDER BY order0_.dateordered DESC, order0_.c_order_id DESC LIMIT '';Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 15 07 5 32s453ms 6s490ms 08 3 17s920ms 5s973ms 09 1 7s71ms 7s71ms 10 7 52s601ms 7s514ms 11 7 42s129ms 6s18ms 12 5 35s714ms 7s142ms [ User: tad - Total duration: 3m7s - Times executed: 28 ]
[ Application: openbravo - Total duration: 3m7s - Times executed: 28 ]
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'Y' AND (order0_.Updated > '2026-07-14 10:17:36.879' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DateOrdered DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'N' AND documentty1_.IsReturn = 'N' AND (order0_.Updated > '2026-07-14 10:00:34.262' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DateOrdered DESC, order0_.C_Order_ID DESC LIMIT '101';
-
SELECT order0_.C_Order_ID AS C_Order_1_276_, order0_.AD_Client_ID AS AD_Clien2_276_, order0_.AD_Org_ID AS AD_Org_I3_276_, order0_.IsActive AS IsActive4_276_, order0_.Created AS Created5_276_, order0_.CreatedBy AS CreatedB6_276_, order0_.Updated AS Updated7_276_, order0_.UpdatedBy AS UpdatedB8_276_, order0_.IsSOTrx AS IsSOTrx9_276_, order0_.DocumentNo AS Documen10_276_, order0_.DocStatus AS DocStat11_276_, order0_.DocAction AS DocActi12_276_, order0_.Processing AS Process13_276_, order0_.Processed AS Process14_276_, order0_.C_DocType_ID AS C_DocTy15_276_, order0_.C_DocTypeTarget_ID AS C_DocTy16_276_, order0_.Description AS Descrip17_276_, order0_.IsDelivered AS IsDeliv18_276_, order0_.IsInvoiced AS IsInvoi19_276_, order0_.IsPrinted AS IsPrint20_276_, order0_.IsSelected AS IsSelec21_276_, order0_.SalesRep_ID AS SalesRe22_276_, order0_.DateOrdered AS DateOrd23_276_, order0_.DatePromised AS DatePro24_276_, order0_.DatePrinted AS DatePri25_276_, order0_.DateAcct AS DateAcc26_276_, order0_.C_BPartner_ID AS C_BPart27_276_, order0_.BillTo_ID AS BillTo_28_276_, order0_.C_BPartner_Location_ID AS C_BPart29_276_, order0_.POReference AS PORefer30_276_, order0_.IsDiscountPrinted AS IsDisco31_276_, order0_.C_Currency_ID AS C_Curre32_276_, order0_.PaymentRule AS Payment33_276_, order0_.C_PaymentTerm_ID AS C_Payme34_276_, order0_.InvoiceRule AS Invoice35_276_, order0_.DeliveryRule AS Deliver36_276_, order0_.FreightCostRule AS Freight37_276_, order0_.FreightAmt AS Freight38_276_, order0_.DeliveryViaRule AS Deliver39_276_, order0_.M_Shipper_ID AS M_Shipp40_276_, order0_.C_Charge_ID AS C_Charg41_276_, order0_.ChargeAmt AS ChargeA42_276_, order0_.PriorityRule AS Priorit43_276_, order0_.TotalLines AS TotalLi44_276_, order0_.GrandTotal AS GrandTo45_276_, order0_.M_Warehouse_ID AS M_Wareh46_276_, order0_.M_PriceList_ID AS M_Price47_276_, order0_.IsTaxIncluded AS IsTaxIn48_276_, order0_.C_Campaign_ID AS C_Campa49_276_, order0_.C_Project_ID AS C_Proje50_276_, order0_.C_Activity_ID AS C_Activ51_276_, order0_.Posted AS Posted52_276_, order0_.AD_User_ID AS AD_User53_276_, order0_.CopyFrom AS CopyFro54_276_, order0_.DropShip_BPartner_ID AS DropShi55_276_, order0_.DropShip_Location_ID AS DropShi56_276_, order0_.DropShip_User_ID AS DropShi57_276_, order0_.IsSelfService AS IsSelfS58_276_, order0_.AD_OrgTrx_ID AS AD_OrgT59_276_, order0_.User1_ID AS User60_276_, order0_.User2_ID AS User61_276_, order0_.Deliverynotes AS Deliver62_276_, order0_.C_Incoterms_ID AS C_Incot63_276_, order0_.Incotermsdescription AS Incoter64_276_, order0_.Generatetemplate AS Generat65_276_, order0_.Delivery_Location_ID AS Deliver66_276_, order0_.CopyFromPO AS CopyFro67_276_, order0_.FIN_Paymentmethod_ID AS FIN_Pay68_276_, order0_.FIN_Payment_Priority_ID AS FIN_Pay69_276_, order0_.RM_PickFromShipment AS RM_Pick70_276_, order0_.RM_ReceiveMaterials AS RM_Rece71_276_, order0_.EM_Obcma_C_Poc_Email_ID AS EM_Obcm72_276_, order0_.RM_CreateInvoice AS RM_Crea73_276_, order0_.C_Return_Reason_ID AS C_Retur74_276_, order0_.RM_AddOrphanLine AS RM_AddO75_276_, order0_.A_Asset_ID AS A_Asset76_276_, order0_.Calculate_Promotions AS Calcula77_276_, order0_.C_Costcenter_ID AS C_Costc78_276_, order0_.Convertquotation AS Convert79_276_, order0_.C_Reject_Reason_ID AS C_Rejec80_276_, order0_.validuntil AS validun81_276_, order0_.Quotation_ID AS Quotati82_276_, order0_.SO_Res_Status AS SO_Res_83_276_, order0_.Create_POLines AS Create_84_276_, order0_.EM_Obdisc_Addpack AS EM_Obdi85_276_, order0_.Iscashvat AS Iscashv86_276_, order0_.EM_OBMFM_Selectfreight AS EM_OBMF87_276_, order0_.EM_OBMFM_Delivery_Period_ID AS EM_OBMF88_276_, order0_.RM_Pickfromreceipt AS RM_Pick89_276_, order0_.Cancelandreplace AS Cancela90_276_, order0_.EM_Advcrm_Newactivity AS EM_Advc91_276_, order0_.EM_APRM_AddPayment AS EM_APRM92_276_, order0_.EM_OBMFM_Delivery_Charges AS EM_OBMF93_276_, order0_.EM_OBMFM_Freight_ID AS EM_OBMF94_276_, order0_.EM_Obwpl_Generatepicking AS EM_Obwp95_276_, order0_.EM_Advcrm_Opportunity_ID AS EM_Advc96_276_, order0_.EM_OBMFM_Weight AS EM_OBMF97_276_, order0_.EM_Obwpl_Isinpickinglist AS EM_Obwp98_276_, order0_.EM_Rcinv_Contractdate AS EM_Rcin99_276_, order0_.EM_Obwpl_Readypl AS EM_Obw100_276_, order0_.EM_Rcinv_Initialdate AS EM_Rci101_276_, order0_.EM_Rcinv_Enddate AS EM_Rci102_276_, order0_.EM_Sgpcrm_Securitygroups_ID AS EM_Sgp103_276_, order0_.EM_OBMFM_Weight_Uom_ID AS EM_OBM104_276_, order0_.EM_Rcinv_Frequency AS EM_Rci105_276_, order0_.EM_OBMFM_Set_Weight AS EM_OBM106_276_, order0_.EM_Rcinv_Renewautomatically AS EM_Rci107_276_, order0_.EM_Aeatsii_Fecha_Operacion AS EM_Aea108_276_, order0_.EM_Ml_Select_Product AS EM_Ml_109_276_, order0_.EM_Rcinv_Renovationtimes AS EM_Rci110_276_, order0_.Confirmcancelandreplace AS Confir111_276_, order0_.EM_Aeatsii_Descripcion_Sii AS EM_Aea112_276_, order0_.EM_Obpos_Applications_ID AS EM_Obp113_276_, order0_.EM_Rcinv_Freqrenovationtime AS EM_Rci114_276_, order0_.EM_Obpos_Sendemail AS EM_Obp115_276_, order0_.EM_Rcinv_Ordercontract_ID AS EM_Rci116_276_, order0_.EM_Obpos_Email_Status AS EM_Obp117_276_, order0_.EM_Rcinv_Freqtime AS EM_Rci118_276_, order0_.Cancelledorder_id AS Cancel119_276_, order0_.EM_Obpos_App_Cashup_ID AS EM_Obp120_276_, order0_.EM_Obpos_Createdabsolute AS EM_Obp121_276_, order0_.Replacedorder_id AS Replac122_276_, order0_.EM_OBPOS_NotInvoiceOnCashUp AS EM_OBP123_276_, order0_.EM_Obpos_Rejected_Quotat_ID AS EM_Obp124_276_, order0_.EM_Obpos_Isdeleted AS EM_Obp125_276_, order0_.Iscancelled AS Iscanc126_276_, order0_.EM_Obpos_Islayaway AS EM_Obp127_276_, order0_.EM_Obpos_Prepaymentamt AS EM_Obp128_276_, order0_.Replacementorder_ID AS Replac129_276_, order0_.EM_Obpos_Prepaymentlimitamt AS EM_Obp130_276_, order0_.EM_Obpos_Prepaymentlaylimitamt AS EM_Obp131_276_, order0_.EM_Obpos_Rounding_Amount AS EM_Obp132_276_, order0_.BPartner_ExtRef AS BPartn133_276_, order0_.EM_Obpos_Sequencename AS EM_Obp134_276_, order0_.EM_Prqc_Clauses_Selector AS EM_Prq135_276_, order0_.EM_Obpos_Sequencenumber AS EM_Obp136_276_, order0_.EM_Rcinv_Cancelcontract AS EM_Rci137_276_, order0_.EM_Rcinv_Cancelleddate AS EM_Rci138_276_, order0_.EM_Rcinv_Iscancelled AS EM_Rci139_276_, order0_.EM_Psat_Activity_ID AS EM_Psa140_276_, order0_.EM_OBSMAIL_EmailAddress AS EM_OBS141_276_, order0_.EM_Prouti_Order_Stock AS EM_Pro142_276_, order0_.EM_Prouti_Pregenerate_Minout AS EM_Pro143_276_, order0_.EM_Prouti_Sotopo AS EM_Pro144_276_, order0_.EM_Prouti_Generate_Pick_Inv AS EM_Pro145_276_, order0_.EM_Pricm_Order_ID AS EM_Pri146_276_, order0_.EM_Prouti_Order_ID AS EM_Pro147_276_, order0_.EM_Prouti_Grandtotalinitial AS EM_Pro148_276_, order0_.EM_Prouti_Dateclosed AS EM_Pro149_276_, order0_.EM_Prouti_Totallinesinitial AS EM_Pro150_276_, order0_.EM_Prouti_Changebpartner AS EM_Pro151_276_, order0_.EM_Prouti_Recalculate_Price AS EM_Pro152_276_, order0_.em_prqr_execute AS em_prq153_276_, order0_.EM_Prouti_Pricecalculatetdate AS EM_Pro154_276_, order0_.EM_Prqr_Execute_Purchase AS EM_Prq155_276_, order0_.EM_Prouti_Reactiveorder AS EM_Pro156_276_, order0_.EM_Prqr_Return_Select_Prod AS EM_Prq157_276_, order0_.EM_Prouti_Totalizations AS EM_Pro158_276_, order0_.em_prouti_Invoiced AS em_pro159_276_, order0_.em_prouti_Received AS em_pro160_276_, order0_.em_prouti_initial_received AS em_pro161_276_, order0_.EM_Prouti_Status_Of_Review AS EM_Pro162_276_, order0_.EM_Prouti_Validate_Order AS EM_Pro163_276_, order0_.EM_Prouti_Start_Review AS EM_Pro164_276_, order0_.EM_Ml_Select_Product_Byattrib AS EM_Ml_165_276_, order0_.EM_Prres_Reservation_ID AS EM_Prr166_276_, order0_.EM_Prres_Responsible_ID AS EM_Prr167_276_, order0_.EM_Prres_Diners AS EM_Prr168_276_, order0_.EM_Prres_Sended AS EM_Prr169_276_, order0_.EM_Prres_Printed AS EM_Prr170_276_, order0_.EM_Prouti_Initial_Bp_ID AS EM_Pro171_276_, order0_.EM_Prouti_Addlines_Btn AS EM_Pro172_276_, order0_.EM_Prtoma_Tomaticket_ID AS EM_Prt173_276_, order0_.EM_Cactl_IsCopy AS EM_Cac174_276_, order0_.EM_Prtoma_Jsonorder AS EM_Prt175_276_, order0_.EM_Prres_Paid_On_Credit AS EM_Prr176_276_, order0_.EM_Prtoma_Grossamount AS EM_Prt177_276_, order0_.EM_Cactl_Internal_Notes_Group AS EM_Cac178_276_, order0_.EM_Prouti_Changebpartner_Bgt AS EM_Pro179_276_, order0_.EM_Prrgr_Locator_ID AS EM_Prr180_276_, order0_.EM_Paytef_Transactionreference AS EM_Pay181_276_, order0_.EM_Cactl_Indirect_Cost_ID AS EM_Cac182_276_, order0_.EM_Cactl_Calculate_Cost AS EM_Cac183_276_, order0_.EM_Cactl_Totalcost AS EM_Cac184_276_, order0_.EM_Cactl_Forceselectedproject AS EM_Cac185_276_, order0_.EM_Cactl_Verified_Return AS EM_Cac186_276_, order0_.EM_Cactl_Duplicate_Budget AS EM_Cac187_276_, order0_.EM_Prres_Orig_Order_ID AS EM_Prr188_276_, order0_.EM_Prcpr_Is_Cloned AS EM_Prc189_276_, order0_.EM_Prouti_Select_Soline AS EM_Pro190_276_, order0_.EM_Prouti_Return_Quantity AS EM_Pro191_276_, order0_.EM_Prqr_Executecredit AS EM_Prq192_276_, order0_.Em_Prqr_Credit_Purchase_ID AS Em_Prq193_276_ FROM C_Order order0_ CROSS JOIN C_DocType documentty1_ WHERE order0_.C_DocTypeTarget_ID = documentty1_.C_DocType_ID AND order0_.IsSOTrx = 'Y' AND documentty1_.IsReturn = 'Y' AND (order0_.Updated > '2026-07-14 12:18:23.301' OR order0_.Processed = 'N') AND (order0_.AD_Org_ID IN ('BDE84FCE50FF46FBBFAC648A621443DF', 'D575B67D82034C269C7E0FAF196D90E7', 'F7430A5D620748B19BE7915CDDDA9BE7', '09AA2CDD5352474690D9BB84C869850A', '86EB5CCF7EFE4EACAC3F2E025C137019', '6FA42D7B78034BD8994E9BA7F2CA2281', '1984C825F5534428BD6DDB0CA6D5A440', '5E311B81CDF64243B4C16520C49F3B59', 'D629402D7AE24904A093B7DC01A5CCA5', 'E007B9685155401596452F7B6CD0A6B8', '117C4CA3249B4C0993D36BA80F450C77', 'F89A6E1DA44F40868BF983D4C2384DA6', '2C9FE48909B54B599491D9F69A70A307', 'C2B9461D37104A31B9FD2C1D5E0D381E', '7DBD8F71A3C640028913A30FBCCDF7A7', '432480F1E32D48A19D89CD9A28D7DC1F', 'CDCEFC97D42749ABA78BA3EB973BAC89', 'FCD700C048BB487AA26E639649EB5A96', 'D675D150EA7D4218AF15CF6221A15349', 'DD5A08978B9D43E0ABFAD0B01A9168B0', '9FF601A70F8443138C0EF03BDFDF29F0', '25548EE38FDF4B068F7CFA9FA70FA4FF', '891AF965E0874B4F911504C515619C58', 'CF85EFF5B85A46679AA07AC10CA26CEA', '900D5488BFB64AD4BE463A30ECEDD0FF', '139ED2D4B4CE4901996E0B72E0F87F6C', '0', '4A09EF8E85474DAFA7C132836C07FFF1', '1C36F5B48E224E4D9C82D6A8202996E8', '71ED1EFD88354240BB0412C35E03BF1C', '88CD22344C324943BF5200E06A942459', 'F22E1A745C4C42BCA2386BF8DC013634', '9F797A8A00FC467F90A60E9E62873D59', 'F660F82B9E8C420CAB4FDD68F6DEA416', 'D19EF13F20CD471BB6F6664909C352AF', 'F9B7F11E4E9C43308578C4D73D2B7E00', '658F3A7A05DF4261A63E57B277843BE9', '5D0AF8482E7F489EB482A8B80E7D3F38')) AND (order0_.AD_Client_ID IN ('9CE5D25B1359417991AD7697D6F09896', '0')) ORDER BY order0_.DateOrdered DESC, order0_.C_Order_ID DESC LIMIT '101';
Date: 2026-07-15 10:17:48 Duration: 11s289ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 10:00:44 Duration: 10s553ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
Date: 2026-07-15 12:18:33 Duration: 9s954ms Database: openbravo User: tad Remote: 127.0.0.1 Application: openbravo Bind query: yes
-
Events
Log levels
Key values
- 54,548 Log entries
Events distribution
Key values
- 0 PANIC entries
- 902 FATAL entries
- 2768 ERROR entries
- 15 WARNING entries
Most Frequent Errors/Events
Key values
- 896 Max number of times the same event was reported
- 3,685 Total events found
Rank Times reported Error 1 896 ERROR: requested WAL segment ... has already been removed
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 15 07 60 08 59 09 60 10 60 11 60 12 59 13 60 14 60 15 59 16 60 17 60 18 59 19 60 20 60 21 60 - ERROR: requested WAL segment 00000001000013CE000000EA has already been removed
Statement: START_REPLICATION SLOT "barmancact" 13CE/EA000000 TIMELINE 1
Date: 2026-07-15 07:00:02 Database: [unknown] Application: barman_receive_wal User: postgres Remote: 87.98.227.217 Code:
2 595 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL off
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 15 07 42 08 40 09 40 10 38 11 39 12 40 13 40 14 39 15 44 16 40 17 39 18 39 19 39 20 37 21 39 - FATAL: no pg_hba.conf entry for host "186.236.254.56", user "admin", database "postgres", SSL off
- FATAL: no pg_hba.conf entry for host "159.65.148.75", user "admin", database "postgres", SSL off
- FATAL: no pg_hba.conf entry for host "85.11.167.7", user "wog", database "postgres", SSL off
Date: 2026-07-15 07:01:11 Database: postgres Application: [unknown] User: admin Remote: 186.236.254.56 Code:
Date: 2026-07-15 07:01:23 Database: postgres Application: [unknown] User: admin Remote: 159.65.148.75 Code:
Date: 2026-07-15 07:03:48 Database: postgres Application: [unknown] User: wog Remote: 85.11.167.7 Code:
3 295 FATAL: unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 15 07 10 08 33 09 27 10 30 11 32 12 29 13 33 14 17 15 19 16 14 17 9 18 9 19 7 20 13 21 10 22 3 - FATAL: unsupported frontend protocol 1234.5680: server supports 2.0 to 3.0
Date: 2026-07-15 07:15:54 Database: [unknown] Application: [unknown] User: [unknown] Remote: 127.0.0.1 Code:
4 60 ERROR: @priuti_duplicated_reference@A/D126177545
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@A/D126177545
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:25 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
5 60 ERROR: @priuti_duplicated_reference@A/D124289721
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@A/D124289721
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:50 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
6 60 ERROR: @priuti_duplicated_reference@1260012693
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260012693
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:38 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
7 60 ERROR: @priuti_duplicated_reference@1250133623
Times Reported Most Frequent Error / Event #7
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1250133623
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:20 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
8 60 ERROR: @priuti_duplicated_reference@1250132470
Times Reported Most Frequent Error / Event #8
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1250132470
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:28 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
9 60 ERROR: @priuti_duplicated_reference@1260012695
Times Reported Most Frequent Error / Event #9
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260012695
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:41 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
10 60 ERROR: @priuti_duplicated_reference@1250465981
Times Reported Most Frequent Error / Event #10
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1250465981
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:22 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
11 60 ERROR: @priuti_duplicated_reference@A/D126176013
Times Reported Most Frequent Error / Event #11
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@A/D126176013
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:28 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
12 60 ERROR: @priuti_duplicated_reference@3052019968
Times Reported Most Frequent Error / Event #12
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@3052019968
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:15 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
13 60 ERROR: @priuti_duplicated_reference@A/D124289660
Times Reported Most Frequent Error / Event #13
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@A/D124289660
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:18 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
14 60 ERROR: @priuti_duplicated_reference@1250443632
Times Reported Most Frequent Error / Event #14
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1250443632
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:53 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
15 60 ERROR: @priuti_duplicated_reference@1260012694
Times Reported Most Frequent Error / Event #15
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260012694
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:43 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
16 60 ERROR: @priuti_duplicated_reference@1 332
Times Reported Most Frequent Error / Event #16
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1 332
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:05 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
17 60 ERROR: @priuti_duplicated_reference@1260012697
Times Reported Most Frequent Error / Event #17
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260012697
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:08 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
18 60 ERROR: @priuti_duplicated_reference@A/D124291494
Times Reported Most Frequent Error / Event #18
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@A/D124291494
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:23 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
19 60 ERROR: @priuti_duplicated_reference@1260136266
Times Reported Most Frequent Error / Event #19
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260136266
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:10 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
20 60 ERROR: @priuti_duplicated_reference@1250133624
Times Reported Most Frequent Error / Event #20
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1250133624
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:55 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
21 60 ERROR: @priuti_duplicated_reference@1260012696
Times Reported Most Frequent Error / Event #21
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260012696
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:00 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
22 60 ERROR: @priuti_duplicated_reference@EMI-002026000469
Times Reported Most Frequent Error / Event #22
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@EMI-002026000469
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:02:03 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
23 60 ERROR: @priuti_duplicated_reference@ABV25/02984
Times Reported Most Frequent Error / Event #23
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@ABV25/02984
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:36 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
24 60 ERROR: @priuti_duplicated_reference@1250132664
Times Reported Most Frequent Error / Event #24
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1250132664
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:30 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
25 60 ERROR: @priuti_duplicated_reference@1250162654
Times Reported Most Frequent Error / Event #25
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1250162654
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:38 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
26 60 ERROR: @priuti_duplicated_reference@1260143233
Times Reported Most Frequent Error / Event #26
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260143233
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:13 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
27 60 ERROR: @priuti_duplicated_reference@1260143234
Times Reported Most Frequent Error / Event #27
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260143234
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:43 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
28 60 ERROR: @priuti_duplicated_reference@1260143232
Times Reported Most Frequent Error / Event #28
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260143232
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:46 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
29 60 ERROR: @priuti_duplicated_reference@5114085269
Times Reported Most Frequent Error / Event #29
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@5114085269
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:33 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
30 60 ERROR: @priuti_duplicated_reference@ABV25/02932
Times Reported Most Frequent Error / Event #30
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@ABV25/02932
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:08 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
31 60 ERROR: @priuti_duplicated_reference@1260012698
Times Reported Most Frequent Error / Event #31
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260012698
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:05 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
32 60 ERROR: @priuti_duplicated_reference@A/D126180797
Times Reported Most Frequent Error / Event #32
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@A/D126180797
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:01:55 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
33 60 ERROR: @priuti_duplicated_reference@1250133625
Times Reported Most Frequent Error / Event #33
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1250133625
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:35 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
34 60 ERROR: @priuti_duplicated_reference@1260005954
Times Reported Most Frequent Error / Event #34
Day Hour Count Jul 15 07 4 08 4 09 4 10 4 11 4 12 4 13 4 14 4 15 4 16 4 17 4 18 4 19 4 20 4 21 4 - ERROR: @priuti_duplicated_reference@1260005954
Context: PL/pgSQL function priuti_c_invoice_ref_trg() line 24 at RAISE
Statement: insert into C_Invoice (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, IsSOTrx, DocumentNo, DocStatus, DocAction, Processing, Processed, Posted, C_DocType_ID, C_DocTypeTarget_ID, Description, IsPrinted, DateInvoiced, DateAcct, C_BPartner_ID, C_BPartner_Location_ID, POReference, IsDiscountPrinted, C_Currency_ID, C_PaymentTerm_ID, M_PriceList_ID, IsTaxIncluded, CreateFrom, GenerateTo, CopyFrom, IsSelfService, Ispaid, EM_Einv_Generated, Totalpaid, EM_Einv_Sent, OutstandingAmt, DaysTillDue, DueAmt, FIN_Paymentmethod_ID, Calculate_Promotions, EM_APRM_Addpayment, Iscashvat, EM_APRM_Processinvoice, Prepaymentamt, Createfromorders, Createfrominouts, EM_Advcrm_Newactivity, Paidamtatinvoicing, EM_Obpos_Rounding_Amount, EM_Aeatsii_Send, EM_Aeatsii_Issent, EM_Aeatsii_Fecha_Operacion, EM_Prouti_Recalculate_Price, EM_Aeatsii_Clave_Tipo_Fc, EM_Ml_Select_Product, EM_Aeatsii_Error_Registral, EM_Aeatsii_Modif, EM_Aeatsii_Modified, EM_Aeatsii_Fecha_Reg_Cont, EM_Aeatsii_Dup, EM_Aeatsii_Unsubscribe, EM_Aeatsii_Multi_Dua, EM_Aeatsii_Autofactura, EM_Aeatsii_Isauthorization, EM_Priuti_Createpurchinv, EM_Priuti_Generated, EM_Prges_Expediente_ID, EM_Prges_Annotation_ID, EM_Prges_Record_Number, EM_Priuti_Status_Of_Review, EM_Prges_Grantotal, EM_Priuti_Validate, EM_Priuti_Start_Review, EM_Prges_Poreference, em_cactl_createfromship, C_Invoice_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77)Date: 2026-07-15 07:00:40 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
35 15 WARNING: no privileges were granted for "..."
Times Reported Most Frequent Error / Event #35
Day Hour Count Jul 15 08 1 09 1 10 1 11 1 12 1 13 1 14 1 15 1 16 1 17 1 18 1 19 1 20 1 21 1 22 1 - WARNING: no privileges were granted for "public"
Date: 2026-07-15 08:00:00 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
36 4 ERROR: @20502@
Times Reported Most Frequent Error / Event #36
Day Hour Count Jul 15 09 4 - ERROR: @20502@
Context: PL/pgSQL function c_order_chk_restrinctions_trg() line 60 at RAISE
Statement: update C_Order set Updated=$1, C_PaymentTerm_ID=$2, InvoiceRule=$3, DeliveryRule=$4, DeliveryViaRule=$5, M_PriceList_ID=$6 where C_Order_ID=$7Date: 2026-07-15 09:17:05 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
37 3 FATAL: no PostgreSQL user name specified in startup packet
Times Reported Most Frequent Error / Event #37
Day Hour Count Jul 15 14 1 17 1 18 1 - FATAL: no PostgreSQL user name specified in startup packet
Date: 2026-07-15 14:59:57 Database: [unknown] Application: [unknown] User: [unknown] Remote: 18.116.101.220 Code:
38 3 FATAL: unsupported frontend protocol 255.255: server supports 2.0 to 3.0
Times Reported Most Frequent Error / Event #38
Day Hour Count Jul 15 14 1 17 1 18 1 - FATAL: unsupported frontend protocol 255.255: server supports 2.0 to 3.0
Date: 2026-07-15 14:59:57 Database: [unknown] Application: [unknown] User: [unknown] Remote: 18.116.101.220 Code:
39 3 FATAL: unsupported frontend protocol 0.0: server supports 2.0 to 3.0
Times Reported Most Frequent Error / Event #39
Day Hour Count Jul 15 14 1 17 1 18 1 - FATAL: unsupported frontend protocol 0.0: server supports 2.0 to 3.0
Date: 2026-07-15 14:59:57 Database: [unknown] Application: [unknown] User: [unknown] Remote: 18.116.101.220 Code:
40 3 ERROR: @20501@
Times Reported Most Frequent Error / Event #40
Day Hour Count Jul 15 07 1 10 2 - ERROR: @20501@
Context: PL/pgSQL function c_order_chk_restrinctions_trg() line 41 at RAISE
Statement: update C_Order set Updated=$1, C_PaymentTerm_ID=$2, InvoiceRule=$3, DeliveryRule=$4, DeliveryViaRule=$5, M_Warehouse_ID=$6, AD_User_ID=$7, EM_Obcma_C_Poc_Email_ID=$8 where C_Order_ID=$9Date: 2026-07-15 07:03:11 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
41 2 FATAL: no pg_hba.conf entry for host "...", user "...", database "...", SSL on
Times Reported Most Frequent Error / Event #41
Day Hour Count Jul 15 13 1 21 1 - FATAL: no pg_hba.conf entry for host "45.156.87.10", user "postgres", database "postgres", SSL on
- FATAL: no pg_hba.conf entry for host "34.52.202.3", user "postgres", database "postgres", SSL on
Date: 2026-07-15 13:31:15 Database: postgres Application: [unknown] User: postgres Remote: 45.156.87.10 Code:
Date: 2026-07-15 21:46:58 Database: postgres Application: [unknown] User: postgres Remote: 34.52.202.3 Code:
42 2 ERROR: new row for relation "..." violates check constraint "..."
Times Reported Most Frequent Error / Event #42
Day Hour Count Jul 15 08 1 10 1 - ERROR: new row for relation "c_invoiceline" violates check constraint "c_invoiceline_finacct_chk"
Detail: Failing row contains (17F93562CF9246EE8F0070249F303A01, 9CE5D25B1359417991AD7697D6F09896, 9F797A8A00FC467F90A60E9E62873D59, Y, 2026-07-15 08:44:40.985, A395E3637421DE77E73CDB773E330164, 2026-07-15 08:44:40.985, A395E3637421DE77E73CDB773E330164, 0D130FB7E1DC4FB2B3DA769401C3326B, null, null, 20, null, Y, null, null, 1, 0, 0, 0, 0, null, 0, 100, null, null, null, N, null, null, null, null, null, 0, N, N, null, 0, 0, 1772B22CF3184441A84EC9A28767A99D, null, 0, null, null, 0, null, N, null, null, null, null, N, null, N, null, null, N, 0, N, N).
Statement: insert into C_InvoiceLine (AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy, C_Invoice_ID, Line, Financial_Invoice_Line, QtyInvoiced, PriceList, PriceActual, PriceLimit, LineNetAmt, C_UOM_ID, IsDescription, PriceStd, Excludeforwithholding, Iseditlinenetamt, Line_Gross_Amount, Gross_Unit_Price, C_Bpartner_ID, grosspricestd, Grosspricelist, IsDeferred, Explode, Match_Lccosts, EM_Prdd_Distribute_Dimensions, EM_Priuti_Discount, EM_Priuti_Updatepricelist, EM_Priuti_Pricelist_Updated, C_InvoiceLine_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33)Date: 2026-07-15 08:44:40 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
43 1 ERROR: @CACTL_INVALID_DATE_FROM_AND_DATE_TO@ - 2026-07-13 00:00:00 - 9999-12-31 00:00:00
Times Reported Most Frequent Error / Event #43
Day Hour Count Jul 15 10 1 - ERROR: @CACTL_INVALID_DATE_FROM_AND_DATE_TO@ - 2026-07-13 00:00:00 - 9999-12-31 00:00:00
Context: PL/pgSQL function cactl_variety_date_trg() line 26 at RAISE
Statement: insert into cactl_variety_product (AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby, Updated, Updatedby, M_Product_ID, C_Bpartner_ID, C_Uom_ID, Price, Cactl_Variety_ID, Pricelist, Date_From, Date_To, Vendorproductno, Iscurrentvendor, Isprocessing, Cactl_Variety_Product_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19)Date: 2026-07-15 10:17:40 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
44 1 ERROR: @PRPASS_HOUR_ERROR@
Times Reported Most Frequent Error / Event #44
Day Hour Count Jul 15 13 1 - ERROR: @PRPASS_HOUR_ERROR@
Context: PL/pgSQL function prpass_timeslots_exce_trg() line 22 at RAISE
Statement: insert into prpass_timeslots_exceptions (AD_Client_ID, AD_Org_ID, Isactive, Created, Createdby, Updated, Updatedby, Prpass_Timeslots_ID, Qtyavailable, Date, Prpass_Timeslots_Exceptions_ID) values ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11)Date: 2026-07-15 13:19:57 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code:
45 1 FATAL: unsupported frontend protocol 16.0: server supports 2.0 to 3.0
Times Reported Most Frequent Error / Event #45
Day Hour Count Jul 15 13 1 - FATAL: unsupported frontend protocol 16.0: server supports 2.0 to 3.0
Date: 2026-07-15 13:03:13 Database: [unknown] Application: [unknown] User: [unknown] Remote: 40.80.203.87 Code:
46 1 ERROR: @RequisitionProcessed@
Times Reported Most Frequent Error / Event #46
Day Hour Count Jul 15 13 1 - ERROR: @RequisitionProcessed@
Context: PL/pgSQL function m_requisitionorder_trg() line 55 at RAISE SQL statement "UPDATE m_requisitionorder SET qty = qty - v_qtytoremove WHERE m_requisitionorder_id = cur_requisitions.m_requisitionorder_id" PL/pgSQL function c_orderline2_trg() line 188 at SQL statement
Statement: update C_OrderLine set Updated=$1, QtyOrdered=$2, LineNetAmt=$3, Taxbaseamt=$4, Aumqty=$5 where C_OrderLine_ID=$6Date: 2026-07-15 13:26:59 Database: openbravo Application: openbravo User: tad Remote: 127.0.0.1 Code: