首页 > 数据库 > Oracle > 收料後無產生收料編號的手工處理
收料後無產生收料編號的手工處理
802組織反映有一筆收料後無收料編號
[@more@]
select next_receipt_num from RCV_PARAMETERS
where organization_id=802
update RCV_PARAMETERS
set next_receipt_num=next_receipt_num+1
where organization_id=802
select next_receipt_num from RCV_PARAMETERS
where organization_id=802
update rcv_shipment_headers
set receipt_num='20179056'
where SHIPMENT_HEADER_ID=5799859
commit
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/92289/viewspace-1057206/ ,如需转载,请注明出处,否则将追究法律责任。