When trying to delete an Operation Code back in ProjectPAK a Database Error message box displays showing the following error message:
You will receive this error message if there are actuals against this particular Op Code as the system will not allow you to delete it in order to maintain referencial integrity.
In these instances what we recommend is that you create a new Department folder called Archived under Define | Department. Enter in a sequence code (we like to use 999 but you can use any logical number that is not already assigned). Now go to Define | Operation Codes and select the Op code you wish to “delete” and click the Modify button. Uncheck the box that says “Show on PC Data Collection Screen” and click OK. Click the Move button and select Archived in the “Into this Department” area and click the OK button. What this will do is move that particular Op code into the Archived area. This lets you know that it is an “inactive” Op code but also by unchecking the PCDC box it hides the Op code from being shown on PCDC so that the shop guys cannot select that particular code (if you have the PCDC program).