Oracle EBS 日记账

select b.status,
       h.je_source,
       (select USER_JE_CATEGORY_NAME
          from GL_JE_CATEGORIES
         where JE_CATEGORY_NAME = h.je_category) je_category,
       B.DEFAULT_PERIOD_NAME,
       b.name,
       h.name,
       h.currency_code,
       b.running_total_dr,
       b.running_total_cr,
       h.description,
       h.period_name,
       h.default_effective_date,
       (select gcc.concatenated_segments
          from gl_code_combinations_kfv gcc
         where gcc.code_combination_id = l.code_combination_id) concatenated_segments,
       l.accounted_dr,
       l.accounted_cr,
       l.description,
       l.context,
       l.attribute1,
       l.attribute2,
       l.attribute3,
       l.attribute4,
       l.attribute5,
       l.attribute6,
       l.attribute7,
       l.attribute8,
       l.attribute9,
       l.attribute10,
       l.attribute11,
       l.attribute12,
       l.attribute13,
       l.attribute14,
       l.attribute15,
       l.attribute16,
       l.attribute17,
       l.attribute18,
       l.attribute19,
       l.attribute20
  from gl_je_batches b, gl_je_headers h, gl_je_lines l
 where b.je_batch_id = h.je_batch_id
   AND (h.display_alc_journal_flag = 'Y' or
       h.display_alc_journal_flag is null)
   and h.je_header_id = l.je_header_id
   and h.je_source = 'Manual'
   and h.doc_sequence_value like '5020%'
   and b.default_period_name = 'JAN-17'

 

转载于:https://www.cnblogs.com/jenrry/p/10006534.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值