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

Mass update of cost rate tables and effective dates?

$
0
0

We are starting to forecast finances for schedules into 2013 and beyond in MSPS 2010.  We need to put in the 2013 rates with effective dates of 1/1/13 so the new rates are applied on about 900 resources.  I've seen the thread here which asked about the exact same thing a couple of years ago but it wasn't much help.

Suggestion was made on the Project Server - Setup, Upgrade, Administration and Operation forum that I post here to see if anyone had a VBA solution to this process.

Thanks for any ideas!

DJ


Where is "Remaining Hours" updated in the PSDB?

$
0
0

Hi,

If the original Task from the Project Plan quotes "100 Remaining Hours" and I update a TimeSheet with 8 hours, then there are several places in the PWA where the remaining hours total is updated as 92.

However, all of the fields I've found in the database, both reporting and published, still yield the original 100 total as the remaining hours.

Can someone direct me to the correctly updated table and field in the database to return the correct updated remaining hours given an assingment uid?

MS Project 2010 - VBA - MultiPage Form - System Error "&H80070057 (-2147024809). The Parameter is incorrect"

$
0
0

I have succesfully written some VBA code that uses a User Form to prompt the user for information to support time phased data extraction from MS Project 2010 Professional to MS Excel.  When the form is modified to use the the MultiPage control (no other changes), you can click through the tabs successfully with no problems.  However, when doing a local save of the MS Project file (Save As to local drive, not a save to Project Server), I receive the following error message:

"System Error &H80070057 (-2147024809). The Parameter is incorrect" and then MS Project 2010 crashes. 

Any suggestions?

--Ira

Error on creating multiple projects through PSI on project server 2010

$
0
0

Hi friends

I am creating projects through PSi coding in project server.Everything works fine if m creating one project at a time., but if I Create simultaneous projects (for example 2 projects), It throws the following error

LastError=ProjectMultipleProjectsInvalid Instructions:
 Pass this into PSClientError constructor to access all error informationERROR::31-10-2012 12:00:04 ProjectName-DM1002


can anyone help me on this.

Thank u

Department,RBS,Team name of project server

$
0
0

Hello,

      Can i know is it right to include RBS,Team Name,Department custom fields to be mandatory while creating a resource in project server 2010.

I need the complete usefulness of using these custom fields to build my organization in project server 2010

Problem with .xlsm's file (Excelservice, Sharepoint 2010)

$
0
0

First, sorry for my english.

There is workbook "myworkbook.xlsm" with macro (for example "mymacro") in xlsm format in Sharepoint 2010 library.

I want to open this workbook, make some changes and save it under different name ("myworkbook_copy.xlsm").

Problem - "mymacro" absents in "myworkbook_copy.xlsm".

do following things (using ExcelService.asmx):

- Call OpenWorkBook (in params "myworkbook.xlsm" )

- Call SaveWorkBookCopy (in params "myworkbook_copy.xlsm" as new name)

- Call CloseWorkBook (in params "myworkbook.xlsm" )

- Call OpenWorkBookForEditing (in params "myworkbook_copy.xlsm" as new name)

- Here I make some changes

- Call SaveWorkBook(in params "myworkbook_copy.xlsm")

- Call CloseWorkBook (in params "myworkbook_copy.xlsm")

How can i save xlsm-file with macro?

Project Server 2010 : Workflow Approvals - Customizing the Workflow Approval Dialog

$
0
0

Does anyone know of or has anyone had any success in modifying the built-in Workflow Approval dialog for Project Server?

The dialog in question is the one where you go to workflow approvals, and select the approval and can then either approve or reject it.

We are trying to address a requirement where there is a need to show Project Information in the workflow approval dialog.  This is so that the approver can make a decision based on the data presented.  The data needs to be shown on the same screen, not by clicking on such as the Review project details link that is included in the dialog.

The type of information that we want to show can be seen in the Project Details web part, or is available as project level data.

Any thoughts or ideas would be greatly appreciated.


regards, David Hans, MCP, MCTS

VBA : Project information in Resource Usage view (Project Standard 2010)

$
0
0

Hi,

How can I display a project piece of information such as project name in a custom column inserted in the Resource Usage view (2010). I expect to do that with VBA.

Thanks


Export Project for Power Point in VBA

$
0
0

Hello friends

How do I export the fields and tasks of a schedule for a Project 2010 file in PowerPoint 2010 VBA?

Thanks for the help.


Hezequias Vasconcelos

Using VB.net to call VBA functions in MS Project 2010

$
0
0

Hi all I am back again.

I am required to develop an app that can loop through all the task in the grant chart and timescaledata. The problem with doing loops via PIA is that it will be very very slow due to communication via multiple layers.

So the next best solution I can think up is to write VBA functions to perform the work in MS Project and then call the functions via VB.net as needed.

Is that viable? Is it a good or bad idea? Or are there any better ideas to this problem?

Thank you in advance

Extracting Resources' data

$
0
0

I need to extract some information from resources in PWA to a Excel Spreadsheet where the data will be used to create high-level budgets. Since this must be a template for all projects, I'm trying to decide what's my best option to do it so the users do not have to worry about copy-paste, connections and so on.

My first option was to simply add a connection to the Project Server Reporting database and retrieve the resources' data to the workbook but since I need to consider Cost Tables I cannot do it that way. I can only get the Standard Rate using that approach.

Second option is to create a VBA code in Excel to retrieve data by using the references to the Project Model.

Third option is to create a VBA code in Project to push data to Excel once the resources are already been selected in the project.

Someone has any ideas?

Thanks in advance

Rene Alvarez

lookup table structures conflict

$
0
0

One of my project file seems to have the lookup table structures conflict with the server. What happened was when I imported the project file to the server, it complained about violation of the primary key contraint for the Lookup table structures key and the import was failed.

Can anyone one advice where I can locate the lookup table structures on the project file? I would like to remove it and see if the problem can be resolved?

Thanks

Is visual Studio 2008 compatible with Project Server 2010

$
0
0

Hi,

I am currently running MSPS 2007 with SharePoint 2007 and SQL Server 2008 r2.

The custom code for project server and reports are developed on Visual Studio 2008.

I am planning to migrate from MSPS 2007 and SharePoint 2007 to MSPS 2010 and SharePoint 2010. After migration, will I be required to migrate the code and reports to Visual Studio 2010 or VS 2008 will support MSPS 2010?

Thanks!

How to call PSI with elevating privileges

$
0
0

Hello all.

In my case I try make some sharepoint web service, which call PSI and returns count of resources (ReadResources method).

I.e. usually user not see all resource pool, web service return only part of data corresponding to current user permissions.

How I can elevate privileges and return full data (count of all resources in pool) without hard-coding administrative accout credentials with password? Maybe there's a way to use Secure Store or another service?

MS Project 2010

$
0
0

Please can someone help me.  I have a set my options so that saturday and sunday are non working days.  However, occasionally i need to have these as working days due to the task to be undertaken, such as cement curing, paint drying, etc.  As the dates are not "cast in stone" this makes it difficult for me.  How do I set the task to show that ANY weekend could be a working weekend without having to use the task information box?

I appreciate any help i can get here.


Can you change time-phased BCWP with VBA?

$
0
0

Is there any way in VBA to overwrite time-phased BCWP? I tried writing a bit of code that would take time-phased ACWP values and copy them to the BCWP values. However, VBA throws an error when I try:

Set dataACWP = myproject.Tasks(nTaskNum).TimeScaleData(myproject.ProjectStart, myproject.ProjectFinish, pjTaskTimescaledACWP, pjTimescaleWeeks)
    Set dataBCWP = myproject.Tasks(nTaskNum).TimeScaleData(myproject.ProjectStart, myproject.ProjectFinish, pjTaskTimescaledBCWP, pjTimescaleWeeks)
    For nWeekNum = 1 To dataACWP.Count
        If dataACWP(nWeekNum).Value <> "" Then
            dBCWP = dataACWP(nWeekNum).Value - dataBCWP(nWeekNum).Value
            dataBCWP.Add dBCWP, nWeekNum
         End If
    Next nWeekNum

The error is on this line: dataBCWP.Add dBCWP, nWeekNum

I assume this is due to the time-phased BCWP being write protected. Is this correct? If so, is there any way to enable writing to the time-phased BCWP?

 I eventually want to be able to use VBA to correct the forcing of resource-assignment BCWP values to zero if the corresponding BCWS is zero. This would reconcile the resource usage EVMS and the task usage EVMS and allow me to use the visual reports function.

The alternative is to use VBA to create my own array of "corrected BCWP" values and then also use VBA to export the data to Excel. It would be nice to have a macro button that I press to fix Project's EVMS calculations.

Error message in Visual Studio

$
0
0

I get the following error message:

"Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS. J:\11-02-2012WS\1Changes\Web.config 68 "

Getting account information from project server

$
0
0
Hey there, 
i wanna know how i can recive back the email and name of account was used to login in PWA. Is for a macro in VBA. Tankyou

Close Task For Updates programmatically thru PSI 2007

$
0
0

Hello All,

I have PS 2007 env and have a requirement to Close Task Updates for few closed projects for a particular department  having more than 1500 tasks programmatically.

So for same just want to know is there any web-service available in PS 2007 so that I can expose that service and do the needful for closing the tasks for few selected projects.

Thanks !!!

Approve Status Updates

$
0
0

Hello,

we're developing a tool handling timephased actual work data. This tool allows work resources to enter and submit their actual work to our own database from which reports are driven. In the following project managers can approve their work information and it should be written to the project server where my problem sits:

I use the PSI to submit status update via the statusing.updatestatus() and submitstatus() methods. Now I can see the new status in the approval center. But this information is already approved by the project manager so I would like to automatically write the new status in the published database. Is there a chance to do this, without setting automatical approval rules, just programmatically? (via PSI) 

Additional information: The tool that manages status updates is a wcf service directly on my project server so impersonation does not help me a lot.

Thank you a lot,

Kind Regards, 

Tom

p.s. i red the "project server 2010 - approve the status update automatically"-thread but i can't make a lot of sense of the possibilites given there.

Viewing all 5347 articles
Browse latest View live


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