Microsoft Project Server 2010 - Need a query/report to show everyone who did not submit timesheet last week

I need to create a MSPS 2010 query/report to send out to my project managers that show them everyone who did not submit their timesheet for the previous week.  I would like to be able to filter it by project/client but would settle for just a list
of all unsubmitted timesheets at this point.  Every link I have found point to old reports for MSPS 2007 and the queries do not work because of schema changes between MSPS 2007 and 2010.  Please help!

Thanks Elli!  Is there any way to also pull in the active resources that have not created a timesheet in the timeframe I am filtering on as well?
Here is the query I had came up with.  Looks like I was on the right track...  I did two actually.  First one to give me a roll up list of employees with outstanding time sheets for last week and the hours, then the same data with an explosion
by employee by project and also pull in their associated time sheet manager:
--Everyone with an timesheet for last week where status  is not 'Approved' or 'Submitted'
SELECT DISTINCT
        CONVERT(varchar(10),b.StartDate,1) + ' - ' + CONVERT(varchar(10),b.EndDate,1) as [Timesheet Date]
      , [ResourceName]
      , [TimesheetStatus]     
      , SUM([ActualWorkBillable]) as [Hours Entered]
  FROM 
    [dbo].[MSP_TimesheetLine_UserView] a
  , [dbo].[MSP_TimesheetPeriod] b
  WHERE
      a.PeriodUID = b.PeriodUID 
  and [TimesheetStatus] NOT IN ('Approved', 'Submitted')
  and DATEADD(dd,-7,GETDATE()) BETWEEN b.[StartDate] AND b.[EndDate]
  GROUP BY 
    b.[StartDate]
  , b.[EndDate]
  , [ResourceName]
  , [TimesheetStatus]
GO
--Everyone with an timesheet for last week where status  is not 'Approved' or 'Submitted' w/ Project/Customer explosion
SELECT
 CONVERT(varchar(10),b.StartDate,1) + ' - ' + CONVERT(varchar(10),b.EndDate,1) as [Timesheet Date]
, r.ResourceName AS [Resource Name]
, [TimesheetStatus]     
, [ProjectName]     
        , ([ActualWorkBillable]) as [Hours Entered]
, isnull(rm.ResourceName,'<No Timesheet ManagerInformation Available>') AS [Timesheet Manager]
FROM
      dbo.MSP_EpmResource_UserView r 
 LEFT OUTER JOIN
      dbo.MSP_EpmResource_UserView as rm 
   ON r.ResourceTimesheetManagerUID = rm.ResourceUID
,[MSP_TimesheetLine_UserView] as a
,[MSP_TimesheetPeriod] as b
WHERE
      a.PeriodUID = b.PeriodUID 
  AND a.ResourceUID = r.ResourceUID
  AND  [TimesheetStatus] NOT IN ('Approved', 'Submitted')
  AND  DATEADD(dd,-7,GETDATE()) BETWEEN b.[StartDate] AND b.[EndDate]
  AND (r.ResourceIsActive = 1)
  AND (r.ResourceType = 2)
  AND (r.ResourceIsGeneric = 0)
ORDER BY 
   r.ResourceName
 , ProjectName
GO

Similar Messages

  • Project Server 2010 - Modification date and name of the person who made the last change in the project

    Hello everybody
    I'm with a doubt.
    I got in the business
    environment Project Server 2010 and
    would like to get the publication date,modification
    date and name
    of the person who made
    the last change in
    the project. It is possible
    to doby the native
    resources or is
    there any query in
    SQL Server to perform a
    query of this information.
    Thank you.
    Obrigado por contactar o fórum Microsoft Technet!

    Hi Hezequias,
    You can get the ProjectModifiedDate column in MSP_EPMProject_userView in the Reporting DB where you can
    get the data based on the projectUID. 
    The "last saved" date in the draft DB (be aware that querying in the draft DB is not supported by MS).
    For the "last modified by", I think it is not stored in any place.
    But you can develop custom code upon publishing the project (Event BeforePublish), writing the current
    date and username automatically into a custom enterprise field.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Timesheets in Microsoft Project Server 2010

    Our team is starting this year using timesheets for collecting actual work from all of our vendors.  I am having a problem seeing the actual work in project professional once the time has been entered into PWA, processed and approved.  Would
    someone with timesheet experience be able to help me with this issue?  Resource has entered actual hours in PWA, saved and submitted.  Timesheet manager approved.  No actual hours show in the project professional schedule.  Any ideas
    or suggestions would be appreciated.
    Jan Whitehead

    Hi Jan,
    Actually you have to differenciate the timesheet manager with the status manager.
    Status manager (who should be the project owner, ie the project manager) will approved submitted tasks updates. Once approved, it will be "pushed" to the project actual work.
    Timesheet manager will approved the complete resource timesheet, including administrative work.
    Note that if you activated SEM (single entry mode) in PS2010, both timesheet and task update are made from on single operation by the resource.
    Thus in your case, since you're talking about timesheet manager approval, it is normal that the actual is not send to the project. The project manager (status manager) must approve the task updates in order for the actuals to be shown in the project plan.
    Please find more information here:
    http://technet.microsoft.com/en-us/library/gg597642(v=office.14).aspx
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Project Server 2010 Approval Centre

    Hi - We have a requirement in Microsoft Project Server 2010. Where in we mange N number of work plans assigned to Many work plan owners. The challenge we facing here is we need to know the last Approved date/time and Published Date/time  for each work
    plan across the work plan owners at one shot. MSP 2010 provides the feasibility to get these details but limites by delegate  session at a time. Which is really time consuming in a larger stream where we have around 20 work plan owners maintaining N number
    of work plans. So is there a way we can view all the Work plan pertaining to all the Work plan owners at one shot .
    Either through MSP2010 or Through SQL either of the choice is fine with us.
    Thanks, Rex

    If you create a view (to be viewed in Project Centre) you can add in the last published date (Last Published) or last modified (Last Modified).

  • Best practice for patching ( Feb 2014 CU) of Project Server 2010

    Hi,
    Please advise.
    Thanks
    srabon

    Hi,
    My current environment is,
    # VM -1 (Project Server 2010) Enterprise Edition
    - Microsoft SharePoint and Project Server 2010 SP1
    - Configuration Database Version 14.0.6134.5000
    - Patch installed - KB2767794
    # VM -2 (SQL Server 2008 R2)
    Now my plan is,
    - Taking Snapshot for the VM-1
    - Should I also take VM snapshot for VM-2 ?
    - Taking Farm Backup
    - Taking /pwa site collection backup
    For your information I do see in your articale MS says that I may have SP1 or SP2 before running this patch but you mentioned I have to have SP2 as well ?
    Fyi....
    Prerequisites
    To install this cumulative update, you must have one of the following products installed:
    Microsoft Project Server 2010 Service Pack 1 (SP1) or Service Pack 2 (SP2)
    Microsoft SharePoint Server 2010 Service Pack 1 (SP1) or Service Pack 2 (SP2)
    Microsoft SharePoint Foundation 2010 Service Pack 1 (SP1) or Service Pack 2 (SP2)
    Please advise if I miss something in my plan.
    Thanks
    srabon

  • Email Notifications from Project 2013 has Project Server 2010 in the subject

    When Project 2013 sends out task reminders it has "Task reminders - Microsoft Project Server 2010
    notification service" in the subject line.  Anyone know how or where this can be changed from 2010 to 2013. 
    New On premise installation of Project 2013 sp1

    I think it is a known bug, not sure if it has been corrected in the latest CU. Contact MS, they should help you with a script:
    https://social.technet.microsoft.com/Forums/en-US/6441b337-785e-48a6-a40a-6406a141001d/task-reminder-emails-for-project-server-2013-have-subject-line-task-reminders-microsoft-project?forum=projectserver2010general
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Understanding Project Server 2010 Error ID 12015

    Are there any known bugs with Project Server 2010 producing the error ID 12015.
    I have a user who has the most up to date version of Project Pro 2010 who cannot open projects from Project Server 2010.
    Below is there screenshot showing their Project Pro version:
    We have the oldest version of Project Pro in Project Server set to 14.0.6134.5000
    Below is a screenshot of the Error ID they are receiving with a completely new version I have never seen before:
    I have been researching for days trying to figure out where the 14.0.4751.1000 version number is coming from. We have all our users on the same versions that are displayed in the first screenshot. 
    Has anyone ran into this issue before?
    Thanks,
    Brent

    14.0.4751.1000 is of that users MPP. 
    and minimum 14.0.6134.5000
    version is specified in project server instance. But your user is having 14.0.4751.1000
    version 
    So resolution is either user update mpp with latest Cu or you specified 14.0.4751.1000
    version in project server .
    As every after Cu update version is getting changed of MPP
    kirtesh

  • Reports permission in Project server 2010

    Hi,
    I have reports created in SSRS, i need to bring those reports to Project Server PWA. How to do that? i need the steps.
    Reports like Number of active resources working in Project, Number of projects in that PWA instance.
    My requirement is, i have a structure like Executives - Program Managers1- 1.Project Manager 2. Project Manager. 
    Program Manager2 - 1. Project Manager 2. Project Manager.
    Each program manger has to see only their projects(the project which comes under him) in PWA not the other Program Manager's project and Project Manager has to see only his project not the other project manager's project in the same program.
    I have Executive who should see all the projects in the organization.
    Can someone assist me how to execute in Project Server 2010 PWA?
    K.Gokulraj

    Hello,
    Sounds like you might need to use the project server security to filter the data in the reports, take a look at this example:
    http://msdn.microsoft.com/en-us/library/office/ee862408(v=office.12).aspx
    To get the reports in side PWA there are several options. As you are querying this I guess SSRS in not SharePoint Integrated mode? If in SSRS Native mode you can just add page viewer web parts on the pages in the PWA site then reference the report server
    report URL.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Need solution to make changes in existing project sites in Project Server 2010 environment

    Dear Folks,
    Hope you all are doing good and ready to give a way for this requirement. :)
    In project server 2010 environment, I am using InfoPath documents library, Issues, Risks etc in each and every project sites.
    Say, after creation of 100 projects/project sites, I have got a requirement to make some changes in the InfoPath document library and in Issues, Risks list, so I have decided to use the following solution which is actually weird:
    Make the changes in InfoPath document library, Issues/Risks list for 1 of the project site and save that site as template and associate it with running EPT.
    Then, delete the existing project sites (after taking backup) and start recreating it from PWA/Server Settings/ Operational Policies/ Project Sites, so that it will take the latest template. But, seems like it is time taking and handy and actually it's not
    working for some of the projects.
    Request all of you to provide some solution for this.
    Ask more, if my explanation is not clear.
    Regards,
    Shravan

    Hello,
    Regarding mass deleting and recreating Project Sites via the PSI, firstly delete the project sites then run the following PowerShell script to bulk create project sites:
    https://gallery.technet.microsoft.com/Bulk-create-Server-Sites-784f7b29
    I have got a script that bulk deletes projects but this is not published as this could be a dangerous script to run if you did know what to update etc. To give you an idea of how to delete project sites via the PSI see a code snippet below:
    $EPMTYGUID = [system.guid]::empty
    $projectOwnerID = 'd6a0a720-12ac-e211-93f9-00155d153dd4'
    $ProjectList = $svcPSProxy.ReadProjectStatus("$EPMTYGUID","PublishedStore","", "0").Project | format-table proj_uid -hidetableheaders | out-string -stream
    foreach ($projectUid in $projectList)
    if ($projectUid -ne "")
    $projectsforDeletions = $svcPSProxy.ReadProject($projectUid, "PublishedStore").Project | where {$_.projectOwnerID -eq $projectOwnerID} | format-table proj_uid -hidetableheaders | out-string -stream
    foreach ($projUid in $projectsforDeletions)
    if ($projUid -ne "")
    $svcWSSProxy.DeleteWSSSite($projUid)
    Write-host 'Project UID for deleted site' $projUID
    That particular example deletes the project sites for a particular project owner, you could easily modify that to remove the project owner filter if needed.
    Regarding your query about having to delete the project sites to get the changes to take affect, there is no easy option to get the issues and risks list changes to filter though, this would either be manual on each existing site or using code to iterate
    through each existing site and apply the changes programmatically. Depending on if you used site collection content types to set up the Issues and Risks lists, it might be simple to add a new column etc. as you could do this centrally and it will cascade
    down. If you didn't use content types and or its view changes etc. this is a per site change that can be manual or programmatically done. The same applies to the document library, if this was set up using a site collection content type, the changes can
    be modified on the content type and cascaded down. If the library was set up with just a library that used local columns / templates then it will be a per site change - the same as the issues and risks.
    The company I work for (CPS) does have a site sync tool that will programmatically update existing sites based on a specified site so I know it is all possible to do in code!
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP

  • Project Server 2013 reporting database change in Schema from Project Server 2010

    I have a current Project Server 2010 implementation, I am planning to migrate to Project Online.
    We have Customized Reports that consume from the PS 2010 Reporting DB.
    Are there differences in the Reporting DB schema  between PS 2010 and Project Online?
    My Question is: if we migrated to Project Online, will the reports crash?
    Another question is that, is PS 2013 Reporting DB schema the same as Project Online?

    Hi Atia,
    IN project server 2013 we have only one database instead of 4, it means draft, archive, published and reporting with in one database.Project Server 2013 reporting database schema tool that can be downloaded.
    http://blogs.msdn.com/b/project_programmability/archive/2013/01/28/project-server-2013-reporting-database-rdb-schema-reference.aspx
    There are differences in reporting of on-premises vs. Project Online
    The Project Server 2013 reporting schema includes three new tables, 27 new views, and a total of 33 tables and views that include new fields.
    Answer-1 : Yes there are some differences between PS 2010 and project Online.
    Answer-2 : Reports will crash as In Project Online you have to use ODATA to create report. You can not query project online data for reporting directly you have to have use ODATA. 
    http://msdn.microsoft.com/en-us/library/jj163015.aspx
    Answer-3 : NO, PS 2013 Schema and Project online Schema is different. 
    kirtesh

  • How to query Process Status from database in Project Server 2010

    Hello All,
    I am using Project Server 2010. 
    I need to query Process Status  from SQL. 
    where can I find Process Status in Database. 
    Thanks,
    Rohit

    Hi Rohit,
    you will not be able to find this information in reporting DB - the only database queries are supported.
    If you really want to go for an unsupported solution, you should be able to find related tables and how to join them in stored proc "MSP_WEB_SP_QRY_Statusing_ReadStatus" in published database.
    Regards
    Barbara
    To increase the value of this forum, please mark the replies that helped to solve your issue as answer. If you find answers to questions from other forum participants to be helpful, please mark them as helpful. Your participation will help others to find
    an appropriate solution faster. Thanks for your support!

  • Project Server 2010 how many CAL licenses do I need?

    Hey Guys,
    We have Project Server 2010 running for two years now.
    We are preparing for the true-up yearly exercise with Microsoft to count the nbr of CAL licenses we need.
    As Project Server admin I have been asked to provide an access log of the users accesing Project Server.
    Is there a way to know how many users are accessing Project Server so we know how many CAL we need?
    I alreayd read the project server 2010 licensing guide (http://download.microsoft.com/download/F/8/8/F88B3241-3E27-4BDD-8A01-ABF2422FB31C/Project%202010%20Licensing%20-%20Licensing%20Guide.pdf)
    but it does not help me in this case.
    Thanks in advance

    I found my answer here :
    http://social.technet.microsoft.com/Forums/en-US/0507ab7f-82d3-435d-8f90-74f2edfa3aa7/how-to-count-number-of-users-in-project-server-2010
    "Well, you could just go to Server Settings >> Manage Users >> Actions and Export to Excel.
    From there you can filter out the Active vs. Inactive Resources, and get your counts"

  • Need to send a email alert to Projectmanger when publishing a project in project server 2010 PWA site

    Hi All
    When creating and publishing a project in PWA(server 2010) need to send a mail alert to the concerned project manager.
    How can i achieve this..
    I have configured the outgoing mail sending in sharepoint and its working fine now.
    Please help me..
    Thanks Advance
    SharePoint Module Lead Assyst International Private Ltd Cochin India

    Nothing is built in Project Server to do this for you automatically.
    They way I have done this in the past is to create a SQL job using SSIS.  It runs every hour and when it sees a project schedule that has a recent PUBLISHED date then this is a trigger to send an email to project manager.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • How to get the usage of SSRS reports in project server 2010

    Hi
    Can any body tell me how to get the usage of the SSRS reports in Project Server 2010.
    Thanks
    Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

    Hello,
    See the links below on how to get the usage for SSRS reports:
    http://sqlbadboy.wordpress.com/2013/09/12/reporting-services-reports-whos-using-them/
    http://www.mssqltips.com/sqlservertip/1908/analyze-report-execution-and-usage-statistics-in-sql-server-reporting-services/
    http://www.mssqltips.com/sqlservertip/1306/how-to-know-what-reporting-services-reports-are-being-used/
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Project Server 2010 Resource Assigments - Need a license for every Resource?

    I am trying to determine the requirements for Project Server 2010 licenses.
    In Project Server 2010, I need to add resources to the pool, then assign a resource to a project task.  The task will be maintained/statused through a manager, not the resource.  
    Does that resource need to have a Project Server license even if the resource never accesses Project Server even through PWA?

    Hi JenKranich,
    You need licences only for users that will access
    Project Server data by any means :
    MS Project Pro, Sharepoint sites and/or
    PWA.
    But resources not associated with users are not "real person" accessing data but just informal entity, thus no need for licences for those resources.
    It is important to note that if those resources can access the SharePoint site, since it contains Project Server data (risks, issues, deliverables), then they DO need a licence.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

Maybe you are looking for

  • Coloring inside line art?

    Pretty quick and simple question: if I've made a drawing using the line tool, how do I color inside my shapes? Currently my file is just a mess with hundreds of layers each containing one individual line. The only way I found was to open the image as

  • ABAP Query transport problem

    Dear All,    I need to copy queries from Standard Area to Global area. When I use the transport facility (SQ03 --> Environment --> transport), it does pop-up the transport workbench request screen at the first time. I created one transport request nu

  • Selecting and deleting background to text

    I have Illustrator CS3 on a PC. I have a file with white text on a black background. How do I delete the black background so I am left with just the white text?

  • Create a step "Form" in workflow

    Hello! I want to create forms to enter data for processing in Business Workflow, to display and edit data. I ve got a container element Y_form_makt that refers to a structure MAKT. I ve got a problem attanching a form using Screen Painter and flow lo

  • JAVA IOException when adding "org.jdom.*" in the list of the imports for Attributes.jsp

    Hi all, I am trying to use JDOM and was playing with the xml examples code(Attributes.jsp) for WLS6.1SP2. When I add the " org.jdom.* " to the list of the imports on the Attributes.jsp page I get a java.io.exception. Please HELP !!