Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
other
informationbridge
office.intranets
office.misc
office.setup
office.xml
officeupdate
onenote
photodraw.discussion
powerpoint
producer
proj.standard&server
project
project.developer
project.pro_and_serve
project.server
project.vba
project2000
publisher
publisher.prepress
publisher.programming
publisher.webdesign
visio
visio.createshapes
visio.database.modeling
visio.dev.diagrams
visio.dev.shapesheet
visio.dev.vba
visio.dev.vc
visio.developer
visio.general
visio.installation
visio.printing
visio.software.modeling
visio.troubleshoot
  
 
date: Thu, 10 Jul 2008 11:44:04 -0700,    group: microsoft.public.project.developer        back       


Adding timesheets via database to MSP 2003   
Question for the 2003 experts.  
I'm finding a strange issue, if I add timesheets to an existing project on a 
fixed work task - It seems that Project then recalculates the work field. Is 
there anything specific that would cause this?  (It's also modifying 
duration, but that's ok)

If I want to add Timephased data/Timesheets to a project, is there anything 
I should be careful about touching/not touching?  Does MSP store data in the 
MSP_Timephased table that could cause problems if I delete and repopulate the 
table with timeshoot rows of my own?
date: Thu, 10 Jul 2008 11:44:04 -0700   author:   Mike

Re: Adding timesheets via database to MSP 2003   
Hi,

That is an area I found very confusing. You need to understand that Project 
only fills the timephased table for reporting purposes and only reads any 
data in it if the appropriate flags are set (see pjdb.htm). Normally all 
timephased data is stored in binary blobs (no schema available).

In the end I found it was easier and much more accurate to use VBA to update 
Projects in Project pro. The same code works for 2007 whilst the update 
database code won't.



-- 

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com



"Mike"  wrote in message 
news:AEADC263-5510-4ACF-A90F-DDD93B52E9EC@microsoft.com...
> Question for the 2003 experts.
> I'm finding a strange issue, if I add timesheets to an existing project on 
> a
> fixed work task - It seems that Project then recalculates the work field. 
> Is
> there anything specific that would cause this?  (It's also modifying
> duration, but that's ok)
>
> If I want to add Timephased data/Timesheets to a project, is there 
> anything
> I should be careful about touching/not touching?  Does MSP store data in 
> the
> MSP_Timephased table that could cause problems if I delete and repopulate 
> the
> table with timeshoot rows of my own?
date: Fri, 11 Jul 2008 09:50:14 +1200   author:   Rod Gill rodATproject-systemsDOTcoDOTnz

Re: Adding timesheets via database to MSP 2003   
I understand - I'm making sure the "expand timephased data in database" 
option is used.

I think I know why it's been changing WORK - because I've been sending over 
% complete as well (in the summary tasks), which sets duration, and work just 
gets processed last and recalculated.

however, for some reason if I DON'T send over % complete, my actual hours 
change.  (Even if I do not set duration or units)

I have not looked into VBA to update Project - is this something I could 
build fairly quickly to simply import timesheets?

"Rod Gill" wrote:

> Hi,
> 
> That is an area I found very confusing. You need to understand that Project 
> only fills the timephased table for reporting purposes and only reads any 
> data in it if the appropriate flags are set (see pjdb.htm). Normally all 
> timephased data is stored in binary blobs (no schema available).
> 
> In the end I found it was easier and much more accurate to use VBA to update 
> Projects in Project pro. The same code works for 2007 whilst the update 
> database code won't.
> 
> 
> 
> -- 
> 
> Rod Gill
> Microsoft MVP for Project
> 
> Author of the only book on Project VBA, see:
> http://www.projectvbabook.com
> 
> 
> 
> "Mike"  wrote in message 
> news:AEADC263-5510-4ACF-A90F-DDD93B52E9EC@microsoft.com...
> > Question for the 2003 experts.
> > I'm finding a strange issue, if I add timesheets to an existing project on 
> > a
> > fixed work task - It seems that Project then recalculates the work field. 
> > Is
> > there anything specific that would cause this?  (It's also modifying
> > duration, but that's ok)
> >
> > If I want to add Timephased data/Timesheets to a project, is there 
> > anything
> > I should be careful about touching/not touching?  Does MSP store data in 
> > the
> > MSP_Timephased table that could cause problems if I delete and repopulate 
> > the
> > table with timeshoot rows of my own? 
> 
>
date: Fri, 11 Jul 2008 07:53:02 -0700   author:   Mike

Re: Adding timesheets via database to MSP 2003   
How quickly is completely dependant on your VBA skills! My book has the 
basics of how to do it, but the devil is in the detail of handling poor data 
and people who assign hours to summary tasks or tasks they are not already 
assigned to in project etc. etc.

So, the basic code is straightforward, the final product is only likely to 
be done once experience is accumulated of handling the exceptions.

-- 

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com



"Mike"  wrote in message 
news:FFA0458F-9FD2-46EC-B20F-F012F20B3A44@microsoft.com...
>I understand - I'm making sure the "expand timephased data in database"
> option is used.
>
> I think I know why it's been changing WORK - because I've been sending 
> over
> % complete as well (in the summary tasks), which sets duration, and work 
> just
> gets processed last and recalculated.
>
> however, for some reason if I DON'T send over % complete, my actual hours
> change.  (Even if I do not set duration or units)
>
> I have not looked into VBA to update Project - is this something I could
> build fairly quickly to simply import timesheets?
>
> "Rod Gill" wrote:
>
>> Hi,
>>
>> That is an area I found very confusing. You need to understand that 
>> Project
>> only fills the timephased table for reporting purposes and only reads any
>> data in it if the appropriate flags are set (see pjdb.htm). Normally all
>> timephased data is stored in binary blobs (no schema available).
>>
>> In the end I found it was easier and much more accurate to use VBA to 
>> update
>> Projects in Project pro. The same code works for 2007 whilst the update
>> database code won't.
>>
>>
>>
>> -- 
>>
>> Rod Gill
>> Microsoft MVP for Project
>>
>> Author of the only book on Project VBA, see:
>> http://www.projectvbabook.com
>>
>>
>>
>> "Mike"  wrote in message
>> news:AEADC263-5510-4ACF-A90F-DDD93B52E9EC@microsoft.com...
>> > Question for the 2003 experts.
>> > I'm finding a strange issue, if I add timesheets to an existing project 
>> > on
>> > a
>> > fixed work task - It seems that Project then recalculates the work 
>> > field.
>> > Is
>> > there anything specific that would cause this?  (It's also modifying
>> > duration, but that's ok)
>> >
>> > If I want to add Timephased data/Timesheets to a project, is there
>> > anything
>> > I should be careful about touching/not touching?  Does MSP store data 
>> > in
>> > the
>> > MSP_Timephased table that could cause problems if I delete and 
>> > repopulate
>> > the
>> > table with timeshoot rows of my own?
>>
>>
date: Sun, 13 Jul 2008 11:17:54 +1200   author:   Rod Gill rodATproject-systemsDOTcoDOTnz

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us