EBS会计期间关闭-应付模块
1.子分类帐期间关闭例外报表
SELECT *
FROM XLA_EVENTS XE
JOIN XLA.XLA_TRANSACTION_ENTITIES XTE
ON XE.ENTITY_ID = XTE.ENTITY_ID
WHERE XE.APPLICATION_ID = 200
AND XTE.LEDGER_ID = 2029
AND XE.EVENT_STATUS_CODE <>'P'
AND XE.EVENT_DATE > TO_DATE('2017-01-28','YYYY-MM-DD')
AND XE.EVENT_DATE <= TO_DATE('2017-02-28','YYYY-MM-DD');
2.未入帐事务处理报表
(1)未入帐的发票
select * from ap_invoice_distributions_all aid where aid.posted_flag <> 'Y';
或者是未验证的发票
select * from ap_invoices_all ai where ai.invoice_id not in (select aid.invoice_id from ap_invoice_distributions_all aid)
(2) 未入帐的预付款发票
select * from ap_prepay_history_all aph where pah.posted_flag <> 'Y'
(3)未入帐的付款
SELECT *
FROM AP_PAYMENT_HISTORY_ALL APH
WHERE APH.ACCOUNTING_DATE > TO_DATE('2017-01-28', 'YYYY-MM-DD')
AND APH.ACCOUNTING_DATE <= TO_DATE('2017-02-28', 'YYYY-MM-DD')
AND APH.POSTED_FLAG <> 'Y'
AND APH.ORG_ID IN (SELECT HOU.ORGANIZATION_ID
FROM HR_OPERATING_UNITS HOU
WHERE HOU.SET_OF_BOOKS_ID = 2029)
创新互联专注为客户提供全方位的互联网综合服务,包含不限于成都网站设计、成都网站制作、外贸网站建设、郓城网络推广、小程序开发、郓城网络营销、郓城企业策划、郓城品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们最大的嘉奖;创新互联为所有大学生创业者提供郓城建站搭建服务,24小时服务热线:028-86922220,官方网址:www.cdcxhl.com
分享标题:EBS会计期间关闭-应付模块
网站地址:http://ybzwz.com/article/joidpi.html