Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 14686

Mass deleting zero dollar Purchase orders via SQL

$
0
0

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


Viewing all articles
Browse latest Browse all 14686

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>