`
wsql
  • 浏览: 11778219 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论

PO Approve Script

 
阅读更多

EBS PO Approve Script

declare
  x_po_head_id number ;
begin

select po_header_id
into   x_po_head_id
from po_headers_all where
segment1 = '&ponumber'
and org_id = &org_id;

update po_headers_all
set authorization_status = 'APPROVED',
approved_flag = 'Y',
approved_date = sysdate,
last_update_date= sysdate
where po_header_id = x_po_head_id;

update po_line_locations_all
set approved_flag = 'Y'
where po_header_id = x_po_head_id ;

commit;

end;



分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics