EPMFAQ Forums - Connect with the EPM Community  

Go Back   EPMFAQ Forums - Connect with the EPM Community > Microsoft Project Forums > Project 2007 Development


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-09-2008, 12:49 PM
Junior Member
 
Join Date: Mar 2008
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default PSI - Rescheduling a Project

I am using the PSI for making changes to a project. If a task is getting moved out to a different date to start date, I know that I change the Constraint Type/Date, but if there is already and Actual Start Date entered, the task won't get pushed out. I want to clear that Actual Start Date. How do I do that with the PSI?








Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 04-09-2008, 02:37 PM
Junior Member
 
Join Date: Mar 2008
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If I run a SQL statement and just clear the TASK_ACT_START field from the SQL Server, that seems to work. However, when I set the Constraint after that, it doesn't seem that the task is always moving with the Constraint.

Using the TaskRow method SetTaskActStartNull() does set the field to null in the DataRow, but it doesn't seem to have any effect on the that task on the Server when I run the QueueUpdateProject and QueuePublish publish methods for the project. The TASK_ACT_START does not change on the server.

Are these Set...Null() methods only for the Nulling the DataRow field, but the Null value is not actually pushed up to the project on the server? I did notice that when I took the project dataset and used the GetXml() method and then looked at the xml for the dataset that when you use the Set..Null() method for any task that the field that you are setting to Null does not show up in the xml. Being that the field is not in the xml, I would assume that there is no update to the field in SQL when project makes the updates.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-09-2008, 03:14 PM
ssanderlin's Avatar
EPMFAQ Founder/Owner
 
Join Date: Feb 2008
Location: Quakertown, PA
Posts: 161
Thanks: 0
Thanked 13 Times in 13 Posts
Default

Quote:
Originally Posted by agriffin View Post
I am using the PSI for making changes to a project. If a task is getting moved out to a different date to start date, I know that I change the Constraint Type/Date, but if there is already and Actual Start Date entered, the task won't get pushed out. I want to clear that Actual Start Date. How do I do that with the PSI?
The task should only have an Actual Start Date if it has actuals against it. Have you tried changing both the Start Date and Actual Start Date to the new date in addition to changing the Constraint Type/Date and instead of nulling out Actual Start?

I do not believe you can set the Actual Start to NULL if you have actuals in the task (without clearing the actuals).
__________________
Stephen Sanderlin
Founder/Owner - EPMFAQ
Principal Consultant - MSProjectExperts

If you found this message useful, please click the Thanks button in the post!

This electronic message, along with any information, advice, and opinions it contains, are mine alone and are not representative of my employer. All information is provided in "GOOD FAITH" and on an "AS IS" basis only. I provide no presentations or warranties, express or implied, including implied warranties of fitness for a particular purpose, merchantability, title, and noninfringement. I strongly advise you to extensively test any changes, workarounds, or techniques described herein on a development system prior to implementation in a production environment, and you are hereby notified that I bear no responsibility whatsoever for any loss, harm, or otherwise negative outcomes resulting from your actions, whether or not said actions were a result of this electronic message, directly or indirectly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-09-2008, 04:13 PM
Junior Member
 
Join Date: Mar 2008
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The Start Date can not be changed in the PSI, it is read-only. But, I could try changing the Actual Start Date with the Constraint Date in order to make sure that the Start Date gets pushed to where it needs to be.

The client that I am doing this project for is using project at a very basic level, so there shouldn't be any actuals except for the Actual Start Date, Actual Finish Date, and the Work Percent Complete.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-09-2008, 04:20 PM
ssanderlin's Avatar
EPMFAQ Founder/Owner
 
Join Date: Feb 2008
Location: Quakertown, PA
Posts: 161
Thanks: 0
Thanked 13 Times in 13 Posts
Default

Quote:
Originally Posted by agriffin View Post
The Start Date can not be changed in the PSI, it is read-only. But, I could try changing the Actual Start Date with the Constraint Date in order to make sure that the Start Date gets pushed to where it needs to be.

The client that I am doing this project for is using project at a very basic level, so there shouldn't be any actuals except for the Actual Start Date, Actual Finish Date, and the Work Percent Complete.
D'oh! You are correct -- my mistake.

You can try moving the Actual Start Date and see if that works... you could also try using SetTASK_START_DATENull to clear the Start Date in addition to moving the Actual Start, although I expect that this will not work.

I apologize, I'm not in a position to code a test for you, so I'm doing this from memory.
__________________
Stephen Sanderlin
Founder/Owner - EPMFAQ
Principal Consultant - MSProjectExperts

If you found this message useful, please click the Thanks button in the post!

This electronic message, along with any information, advice, and opinions it contains, are mine alone and are not representative of my employer. All information is provided in "GOOD FAITH" and on an "AS IS" basis only. I provide no presentations or warranties, express or implied, including implied warranties of fitness for a particular purpose, merchantability, title, and noninfringement. I strongly advise you to extensively test any changes, workarounds, or techniques described herein on a development system prior to implementation in a production environment, and you are hereby notified that I bear no responsibility whatsoever for any loss, harm, or otherwise negative outcomes resulting from your actions, whether or not said actions were a result of this electronic message, directly or indirectly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-09-2008, 04:45 PM
Junior Member
 
Join Date: Mar 2008
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That is alright. I will see if this works.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -4. The time now is 08:18 PM.


Powered by: vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Ad Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24