Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Where does the data for the Project center views reside

$
0
0

I guess these would be the view tables...

when viewing a certain project here Projectserver/Views/ProjectReport.asp in Project Center. I need to run an SQL job that checks for earliest start date such that I can confirm that the users are looking at a current updated project. We have been in the situation where the published project is not showing on PWA. It is like it is stuck and I need to reboot the server if it happens.

Currently I have something like this...

DECLARE @hours int

SELECT @hours=datediff(hh,A.earliesttask,getdate())
FROM
(
 SELECT top 1 [TASK_START_DATE] as earliesttask
 FROM [ProjectServer].[dbo].[MSP_TASKS]
 WHERE proj_id = 1196
 AND task_start_date is not null
 order by [TASK_START_DATE] asc
)
A

but If I remember correctly the  [ProjectServer].[dbo].[MSP_TASKS] table is not the one that holds the data for the PWA views. Are there other equivalent published/reporting tables or views.



Viewing all articles
Browse latest Browse all 5347

Trending Articles



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