how to verify that there is no actual task data in the future ?

S

Smugliy

Hi ,What is the best way to verify that there is no data in the future ? (for
example next 2 years)

When I am using TimeScaleData function ,start date is always "rounded" to
the start of the interval but I want it from next day(today +1) .If I will
use days interval I will need to iterate 365(days) * 2 = 730 times .And this
is only for one task .And I have much more taks.
May be there is an other way to do this ?
Thanks a lot.
 
J

Jonathan Sofer

To look for actuals in the future use Task.Stop
To look for schedule work in the past use Task.Resume

Compare to current date or to project status date.
 
J

Jack Dahlgren

Thanks for correcting my faulty memory.

-Jack


Jonathan Sofer said:
To look for actuals in the future use Task.Stop
To look for schedule work in the past use Task.Resume

Compare to current date or to project status date.
 
S

Smugliy

Sorry ,Jonathan,

I don't understand how this two methods can help me ?
If the user inserted ,by mistake,for example that he worked 5 hours in the
next year
How could I know abouth this .I can do this with TimeScaleData ,but this a
very bad performance.

How can I use Stop/Resume ???
 
J

Jack Dahlgren

Compare the date given by task.stop against current date (or date + 1)
If they reported 5 hours against task A in May 30, 2009 then task.stop for
task A would be May 30, 2009.

-Jack Dahlgren
 
S

Smugliy

Hi ,

I tryed it,I reported work hours in the future ,but Task.Stop doesn't change
at all.
Maybe I am doing something wrong ?

applicationObject.ActiveProject.Tasks[1].Stop - doesn't change
 
J

Jack Dahlgren

Did you report hours on Task1 or a different task?

-Jack


Smugliy said:
Hi ,

I tryed it,I reported work hours in the future ,but Task.Stop doesn't
change
at all.
Maybe I am doing something wrong ?

applicationObject.ActiveProject.Tasks[1].Stop - doesn't change




Jack Dahlgren said:
Compare the date given by task.stop against current date (or date + 1)
If they reported 5 hours against task A in May 30, 2009 then task.stop
for
task A would be May 30, 2009.

-Jack Dahlgren
 
S

Smugliy

of course,on task 1

Jack Dahlgren said:
Did you report hours on Task1 or a different task?

-Jack


Smugliy said:
Hi ,

I tryed it,I reported work hours in the future ,but Task.Stop doesn't
change
at all.
Maybe I am doing something wrong ?

applicationObject.ActiveProject.Tasks[1].Stop - doesn't change




Jack Dahlgren said:
Compare the date given by task.stop against current date (or date + 1)
If they reported 5 hours against task A in May 30, 2009 then task.stop
for
task A would be May 30, 2009.

-Jack Dahlgren

Sorry ,Jonathan,

I don't understand how this two methods can help me ?
If the user inserted ,by mistake,for example that he worked 5 hours in
the
next year
How could I know abouth this .I can do this with TimeScaleData ,but
this
a
very bad performance.

How can I use Stop/Resume ???


:

To look for actuals in the future use Task.Stop
To look for schedule work in the past use Task.Resume

Compare to current date or to project status date.

--
Jonathan Sofer
http://www.epmcentral.com


You can do it without TSV's
Look at Task.Resume

-Jack Dahlgren

Hi ,What is the best way to verify that there is no data in the
future
?
(for
example next 2 years)

When I am using TimeScaleData function ,start date is always
"rounded"
to
the start of the interval but I want it from next day(today +1)
.If I
will
use days interval I will need to iterate 365(days) * 2 = 730 times
.And
this
is only for one task .And I have much more taks.
May be there is an other way to do this ?
Thanks a lot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top