zoukankan      html  css  js  c++  java
  • ET

    1 select xe.event_id,
    2 xe.application_id,
    3 xte.transaction_number,--事物处理编号
    4   xe.event_type_code,
    5 xe.event_date,
    6 xe.event_number,
    7 xe.entity_id,
    8 xe.event_status_code,
    9 xe.process_status_code--,xe.*
    10 from xla_transaction_entities xte,
    11 xla_events xe,
    12 AR_ADJUSTMENTS_ALL AAA
    13 where xe.entity_id = xte.entity_id
    14 and xe.application_id = xte.application_id
    15 and xte.entity_code = 'ADJUSTMENTS'
    16 and xte.source_id_int_1 = aaa.adjustment_id
    17 and aaa.customer_trx_id = (select customer_trx_id from ra_customer_trx_all rct where rct.trx_number = '500940' and rct.org_id = 204 )
    18 and aaa.org_id = 204;
    19 EVENT_ID TRANSACTION_NUMBER EVENT_TYPE_CODE EVENT_DATE EVENT_NUMBER ENTITY_ID EVENT_STATUS_CODE PROCESS_STATUS_CODE
    20 3322476 3426 ADJ_CREATE 2011/5/12 1 3254010 U U
    21 3322477 3427 ADJ_CREATE 2011/5/12 1 3254011 U U
    22 3322478 3428 ADJ_CREATE 2011/5/12 1 3254012 U U

    select xe.event_id,

           xe.application_id,

           xte.transaction_number,--事物处理编号

           xe.event_type_code,

           xe.event_date,

           xe.event_number,

           xe.entity_id,

           xe.event_status_code,

           xe.process_status_code--,xe.*

      from xla_transaction_entities xte,

           xla_events xe,

           AR_ADJUSTMENTS_ALL AAA

     where xe.entity_id = xte.entity_id

       and xe.application_id = xte.application_id

       and xte.entity_code = 'ADJUSTMENTS'

       and xte.source_id_int_1 = aaa.adjustment_id

       and aaa.customer_trx_id = (select customer_trx_id from  ra_customer_trx_all rct where rct.trx_number = '500940'  and rct.org_id = 204 )

       and aaa.org_id = 204;

    EVENT_ID

    TRANSACTION_NUMBER

    EVENT_TYPE_CODE

    EVENT_DATE

    EVENT_NUMBER

    ENTITY_ID

    EVENT_STATUS_CODE

    PROCESS_STATUS_CODE

    3322476

    3426

    ADJ_CREATE

    2011/5/12

    1

    3254010

    U

    U

    3322477

    3427

    ADJ_CREATE

    2011/5/12

    1

    3254011

    U

    U

    3322478

    3428

    ADJ_CREATE

    2011/5/12

    1

    3254012

    U

    U

  • 相关阅读:
    HDU 2094 产生冠军
    CodeForce 837 A/B/C解题报告
    HDU 4825 Xor Sum 【01字典树】
    Kruskal 最小生成树
    并查集
    ccf 201812-4
    Prim 最小生成树
    ccf 201812-1
    ccf 201812-2
    getline()
  • 原文地址:https://www.cnblogs.com/boyle/p/2047647.html
Copyright © 2011-2022 走看看