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, 04:22 PM
Junior Member
 
Join Date: Mar 2008
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default Start and Finish Dates for a Project

If I create a project using the PSI and set the Finish Date, how does the Start date get determined. How does it get determined especially if your tasks get created without any durations?








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, 05:46 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
If I create a project using the PSI and set the Finish Date, how does the Start date get determined. How does it get determined especially if your tasks get created without any durations?
It depends whether the project is set to schedule from Start or Finish.

The default value of both PROJ_INFO_FINISH_DATE and PROJ_INFO_START_DATE is the current server date. PROJ_INFO_FINISH_DATE is ignored when PROJ_INFO_SCHED_FROM is true, and PROJ_INFO_START_DATE is ignored when PROJ_INFO_SCHED_FROM is false.

Without getting into all of the possible (and complicated) scheduling scenarios, the Start date for a Schedule from Finish project is calculated by subtracting the longest task Duration from the project's Finish date (meaning that the project's Finish date should be equal to the earliest task Start date in the project). Therefore, I would expect that if you create a new project, set PROJ_INFO_SCHED_FROM to false, and set PROJ_INFO_FINISH_DATE to some value, whatever Finish date you set would be used as both the Start and Finish for any tasks you create with a Duration of 0 (and therefore for the project).

Is this not consistent with the behavior you are seeing?
__________________
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
  #3 (permalink)  
Old 04-09-2008, 06:07 PM
Junior Member
 
Join Date: Mar 2008
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am setting the Finish Date for the project on creation. Somehow, the project is getting set to Schedule From Start. I have no idea then where the Start date is coming from. I have seen start dates that are even before the system date when the project was loaded.

Sometimes with Project, it almost seems like things just happen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-09-2008, 07:28 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 setting the Finish Date for the project on creation. Somehow, the project is getting set to Schedule From Start. I have no idea then where the Start date is coming from. I have seen start dates that are even before the system date when the project was loaded.

Sometimes with Project, it almost seems like things just happen.
Setting the Finish date won't do it... You need to set PROJ_INFO_SCHED_FROM to false.

Beyond that, I can't really provide much guidance without seeing all of your relevant code.
__________________
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
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:06 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