Situation: PO has been created, PO receipt is done and posted, but posting fails. The PO line says it's completely received, the receipt transaction is corrupted, and there is no inventory available from the receipt.
Solution:In this case, the PO receipt actually did not post, and we just have to recover the corrupt transaction and delete it.
--Get the Receipt number for the PO
select * from pop10310 where ponumber = 'PO000000000022484'
--Get the Receipt Header
select * from pop10300 where poprctnm = 'GSR00000000068562'
--Update the VENDORID and POPTYPE = 1 if they are blank to allow you to access the transaction in the receiving work screen
--Get the vendor id
select vendorid from pop10100 where ponumber = 'PO000000000022484'
update pop10300 set VENDORID = 'APAS01', POPTYPE = 1 where POPRCTNM = 'GSR00000000068562'
After running the scripts, pull up the transaction in the purchase receipt screen and delete it.
This should free up the PO and allow you to receive the lines properly.
No comments:
Post a Comment