po误“最终关闭”,现在需要开票,如何处理
Posted fjzsl
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了po误“最终关闭”,现在需要开票,如何处理相关的知识,希望对你有一定的参考价值。
标准功能限定最终关闭后不允许再有后续的业务处理。以下提供非ORACLE标准的更新处理,请知悉:
1、更新可能会带来未知的影响;
2、需要在测试环境先进行测试后,符合业务要求后再在正式环境实施。
1) Find po_header_id:
--gml_po_line_locations_all_t1
select po_header_id
from po_headers_all
where segment1 =‘300118‘
and org_id=‘7927‘--‘<the PO number in question>‘;
2) Update closed_code from FINALLY CLOSED to CLOSED:
a)
update po_headers_all
set closed_code = ‘CLOSED‘
where po_header_id =‘350194‘-- <the po header id from step 1>
and closed_code = ‘FINALLY CLOSED‘ ;
commit;
b)
update po_lines_all
set closed_code = ‘CLOSED‘
where po_header_id =‘350194‘-- <the po header id from step 1>
and closed_code = ‘FINALLY CLOSED‘;
commit;
c)
update po_line_locations_all
set closed_code = ‘CLOSED‘
where po_header_id =‘350194‘-- <the po header id from step 1>
and closed_code = ‘FINALLY CLOSED‘;
commit;
d)
delete from po_action_history
where object_id = ‘350194‘-- <the po header id from step 1>
and action_code = ‘FINALLY CLOSE‘
commit;
3) Go to Purchasing Order Entry form. Query the PO. Navigate to
Special -> Control. Open the PO.
以上请参考。谢谢!
以上是关于po误“最终关闭”,现在需要开票,如何处理的主要内容,如果未能解决你的问题,请参考以下文章
我认为适用于 Android 的 Google Chrome 有一个奇怪的视口高度错误,应该修复它。现在,你如何处理它?