We have over 5000 errant PO's that need to be closed.
Many of these PO's were created, never properly matched, blanket PO's never fully allocated or consumed, etc, etc, some as far back as six years ago!
The majority of these have been zeroed out in GP and are no longer needed.
Apart from going into the "Edit PO " window to manually change the status one at a time, could someone suggest an alternate in SQL? I of course would plan a test sample in our DEV system.
I generally can alter a PO status as such in SQL however I am not sure that this is the proper syntax for changing the PO status from released (2) to closed (5)
update POP10110
set POLNESTA = '5'
where PONUMBER = 'MW-082911-004'
Any help would be greatly appreciated!
Thank you
Mark