Deleting Departments
Before you can delete a department in Enterprise Manager, you must complete three prerequisite steps in order:
- Revoke all departmental function privileges granted to roles for that department.
- Reassign all jobs that reference the department in the daily tables.
- Reassign all jobs that reference the department in the master tables.
Only after completing those steps can you delete the department record itself. The <General> department is a system default and cannot be deleted.
If a department still has cross-references — roles with granted privileges, or jobs assigned to it in either the daily or master tables — the Remove button displays an error and the deletion is blocked.
Revoke Departmental Function Privileges
To revoke departmental function privileges for all roles, complete the following steps:
- In Enterprise Manager, select Departmental Function Privileges under the Security topic. The Departmental Function Privileges screen opens.
- Select a role in the Select Role list. Use the Find (Ctrl+F) button to search for a role by name.
- Select the department to be deleted in the Departments list.
- In the Granted list, select all functions. Use Shift+select to select multiple items.
- Select the left-arrow button to move all selected functions to the Revoked list.
- Repeat steps 2–5 for every role that has privileges for this department.
- Select Close to close the Departmental Function Privileges screen.
Result: No roles retain granted functions for the department.
Reassign Jobs in the Daily Table
To remove the department assignment from daily jobs, complete the following steps:
- Select Daily Maintenance under the Administration topic. The Daily Maintenance screen opens.
- Select the expand arrow next to the date you want to update.
- Select the expand arrow next to the schedule you want to update.
- Select the job.
- Select Edit Daily. The Job Daily screen opens.
- In the Job Details frame, select <General> or a different department name in the Department list.
- Select Save on the Job Daily toolbar.
- Repeat steps 3–7 for every job assigned to the department being deleted.
- Select Close to close the Job Daily screen.
Result: No daily jobs reference the department being deleted.
Reassign Jobs in the Master Tables
To remove the department assignment from master jobs, complete the following steps:
- Select Edit Master. The Job Master screen opens.
- Select a schedule in the Schedule list.
- Select a job in the Job list.
- In the Job Details frame, select <General> or a different department name in the Department list.
- Select Save on the Job Master toolbar.
- Repeat steps 3–5 for every job assigned to the department being deleted.
- Select Close to close the Job Master screen.
Result: No master jobs reference the department being deleted.
Delete the Department
To delete the department record, complete the following steps:
- Select Departments under the Security topic. The Departments screen opens.
- Select the department in the Select a department list.
- Select Remove on the Departments toolbar.
- Select Yes to confirm the deletion, or No to cancel.
- Select Close to close the Departments screen.
Result: The department record is permanently removed from OpCon and no longer appears in any department list.