MSP 2003 - Hiding Administrative Tasks that have been deleted

G

Graham

I have a few resource managers who have deleted 10-12 administrative
tasks. This causes a problem on their resources' current timesheet in
PWA.

On the team membes timesheet they are presented the tasks marked with
an X. The problem is that the team members are not able to Hide
administrative tasks.

Is there any way to get ride of deleted administrative tasks from the
current timesheet view?

Any help will be appreciated.
Thanks,
Graham
 
I

ITG_Mike

Graham

The only way I know to do this is to modify the underlying tables in SQL Server. Find the assignment in the MSP_WEB_ASSIGNMENTS table and chnage the value of the WASSN_REMOVED_BY RESOURCE from 0 to 1. This will hide the task

Disclaimer: While I have tested this in our system without incident, I did not design the PS03 database and unintended side effects are certainly possible (though I have not seen any). Also, you can do real damage mucking about in the database. Do not do this unless you know what you are doing

Mike
 
G

Graham

We got a reply from MS on this one ... I'll post it for the rest to
see.

___________________

Thank you for your reply and attachment.

According to my research, if we need hide administrative tasks, we
should modify the ASP page that allows this to happen first. Please
refer to below steps:

1. Locate the Taskspage.asp

<InstallLocation:>\Program Files\Microsoft Office Project Server
2003\IIS Virtual Root\TASKS

2. Make a copy of the TasksPage.asp and save the copy

3. Open the Taskspage.asp page in Notepad

4. Search for the function called "DeleteLink_OnClick"

5. Modify the var named "bIsAdminProj". It looks like:



var bIsAdminProj =

Boolean(MSPJGrid.GetCellValue(rows.getItem(0),'<%=const_dbWPROJ_ADMINPROJECT%>'));

Change it to:



var bIsAdminProj =

Boolean(MSPJGrid.GetCellValue(rows.getItem(0),'<%=const_dbWPROJ_ADMINPROJECT%>'))

&&

(MSPJGrid.GetCellValue(rows.getItem(0),'WASSN_DELETED_IN_PROJ')==0);

6. Close Notepad saving the changes

7. Run IISReset to restart the IIS services

This will allow you to hide tasks that have been deleted from
Administrative project plans. I look forward to your progress.

Thanks & Regards,
 
Top