在发票匹配完成后,创建会计分录出现以下提示:
使用select *
from ap_ae_headers_all a
where a.accounting_event_id in
(select aea.accounting_event_id
from ap_accounting_events_all aea
where aea.event_status_code = 'CREATED')
找到了出问题的发票
查看该发票的行状态:
select *
from ap_ae_lines_all a
where a.ae_header_id in
(select b.ae_header_id
from ap_ae_headers_all b, ap_accounting_events_all c
where b.accounting_event_id = c.accounting_event_id
and c.source_table = 'AP_INVOICES'
and c.source_id = 14160)
查看ap_accounting_events_all表中event_status_code字段的状态后,发现该行状态与应用中的状态不匹配(应用中的状态是已创建会计分录,但event_status_code字段的状态不为ACCOUNTED
所以使用以下脚本更改其状态:
update ap_accounting_events_all a
set a.event_status_code ='ACCOUNTED'
where a.accounting_event_id =18950
and a.source_id = 14160
问题解决,但提交“应付款管理系统会计核算流程”请求,传送总账时出错,估计和以上操作有关,具体以后观察
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7702418/viewspace-916461/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7702418/viewspace-916461/
700

被折叠的 条评论
为什么被折叠?



