Oracle EBS AR 收款取值

江枫思渺然 提交于 2021-02-04 19:34:09
select hr.name,
       a.autoapply_flag,
       a.AUTOMATCH_SET_ID,
       a.LEGAL_ENTITY_ID,
       a.RECEIPT_NUMBER,
       a.type,
       a.receipt_date,
       b.gl_date,
       c.name,
       a.remit_bank_account,
       ce.bank_account_name,
       a.attribute3
  from AR_CASH_RECEIPTS_V        a,
       hr_operating_units          hr,
       AR_CASH_RECEIPT_HISTORY_ALL b,
       AR_RECEIPT_METHODS          c,
       ce_bank_accounts ce
 where a.org_id = hr.organization_id
   AND b.CASH_RECEIPT_ID(+) = a.CASH_RECEIPT_ID
   AND b.ORG_ID(+) = a.ORG_ID
   AND b.FIRST_POSTED_RECORD_FLAG(+) = 'Y'
   and hr.organization_id = 89
   AND a.RECEIPT_METHOD_ID = c.RECEIPT_METHOD_ID
   and a.remit_bank_account = ce.bank_account_num
   and a.attribute3 < '20000'

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!