SELECT ct.trx_number
,adj.adjustment_number
,ad.amount_dr
,ad.amount_cr
,ad.source_table
,ad.source_type
,xla_oa_functions_pkg.get_ccid_description(gcc.chart_of_accounts_id
,ad.code_combination_id)
FROM ar_distributions_all ad
,ar_adjustments_all adj
,ra_customer_trx_all ct
,gl_code_combinations gcc
WHERE ad.source_table = 'ADJ'
AND ad.source_id = adj.adjustment_id
AND adj.customer_trx_id = ct.customer_trx_id
AND gcc.code_combination_id = ad.code_combination_id;
相关文章
- 08-30Oracle EBS AR 收款调整取值
- 08-30Oracle EBS SLA取值
- 08-30Oracle EBS AR 冲销收款
- 08-30Oracle EBS AR 贷项通知单核销取值
- 08-30Oracle EBS 应收发票取值
- 08-30Oracle EBS 应收事务处理取值
- 08-30Oracle EBS AR 客户取数SQL
- 08-30Oracle EBS订单的流程(Order->AR)
- 08-30Oracle EBS GL总账凭证取值
- 08-30Oracle EBS FA 资产取值