I used the following script (from Ryan Sakry, thank you!) to close all my open POs prior to 10/01/2007:
UPDATE PurchaseOrder SET [Status] = 2 WHERE LastUpdated < '2007-10-01'
Now when I go to the PO screen I show all the affected above POs as closed (yellow icon) under the Status column, but when I click on any of these particular POs the status shows as Open and I am still able to click on Receive and make PO line entry changes (it should be grayed out) Any suggestions on how to fix/update this?
Basically what I want to do is mark all the pre 10/01/2007 POs as closed without actually receiving/committing them to inventory, but I still would like to be able to pull up these POs with their original line item entries and quantities (for viewing only) .
Thanks in advance (Ryan?)!