Enterprise Custom Fields of Task / Duration Type

J

John Sitka

Hi,

I have a project where...
Enterprise Duration1 is entered in hours and rolls up as a sum in hours in Project and in PWA Views
Enterprise Duration2 is entered in hours and rolls up as a sum in hours in Project and in PWA Views
Enterprise Duration3 is entered in hours and rolls up as a sum in hours in Project BUT displays at the PWA task in days AND rolls up
as a sum in days and PWA Views

any ideas... Thanks
 
G

Gérard Ducouret

John,

Are these 3 Enterprise Duration fields displayed in the same PWA view or in
3 different PWA views ?

Gérard Ducouret

John Sitka said:
Hi,

I have a project where...
Enterprise Duration1 is entered in hours and rolls up as a sum in hours in Project and in PWA Views
Enterprise Duration2 is entered in hours and rolls up as a sum in hours in Project and in PWA Views
Enterprise Duration3 is entered in hours and rolls up as a sum in hours in
Project BUT displays at the PWA task in days AND rolls up
 
J

John Sitka

Good point, and changes what I wrote.

In the view I am wanting only hours to be used as duration unit, Enterprise Duration1 and Enterprise Duration3 are both displayed
and rolled up as days.

I'm going to rebuild this view from scratch a couple times and do some more checking.

Thanks

J.





Gérard Ducouret said:
John,

Are these 3 Enterprise Duration fields displayed in the same PWA view or in
3 different PWA views ?

Gérard Ducouret

John Sitka said:
Hi,

I have a project where...
Enterprise Duration1 is entered in hours and rolls up as a sum in hours in Project and in PWA Views
Enterprise Duration2 is entered in hours and rolls up as a sum in hours in Project and in PWA Views
Enterprise Duration3 is entered in hours and rolls up as a sum in hours in
Project BUT displays at the PWA task in days AND rolls up
 
J

John Sitka

New question

How can I get...

Enterprise Task Duration1 and Enterprise Task Duration3
to display as hours instead of days in a custom PWA view of
View Type : Project
Table : Task

Thanks


John Sitka said:
Good point, and changes what I wrote.

In the view I am wanting only hours to be used as duration unit, Enterprise Duration1 and Enterprise Duration3 are both displayed
and rolled up as days.

I'm going to rebuild this view from scratch a couple times and do some more checking.

Thanks

J.
 
J

John Sitka

Here's a series of values from the table of a PWA view

Actual Work, Work, Remaining Work, Enterprise Task Duration1, Enterprise Task Duration3
Now obviously the planner didn't enter Enterprise Task Duration1, Enterprise Task Duration3 as 0.63d 1.25d
on line 2

0h 3h 3h 0.38d 0.38d
0h 10h 10h 0.63d 1.25d
0h 10h 10h 1.25d 1.25d
0h 15h 15h 1.88d 1.88d
0h 20h 20h 2.75d 3.75d
43.5h 45h 1.5h 3.75d 5.63d
82.75h 82.75h 0h 4.5d 4.5d
39.5h 39.5h 0h 5.63d 10d
0h 0.25h 0.25h 10.38d 0.03d

This is of
View Type : Project
Table : Task

the same custom field in
View Type : Assignment

will show hours for Enterprise Task Duration1, Enterprise Task Duration3 unless the value is 0 (zero) in which case
it shows 0d days and the rollup in a grouping situation for an assignment view goes to days as well.

One goal here.
Show Enterprise Task Durations as hours in PWA ALWAYS.
 
G

Gérard Ducouret

Hello John,

If you know how to edit the .asp pages, insert the instruction:
MSPJGrid.TextConv.SetTimeProps(X) where X = 3 for days, 2 for hours...

on the row before each statement

MSPJGrid.Refresh();


Hope this helps,

Gérard Ducouret
 
J

John Sitka

Oh really, I'll check it out.
Thanks

J.


Gérard Ducouret said:
Hello John,

If you know how to edit the .asp pages, insert the instruction:
MSPJGrid.TextConv.SetTimeProps(X) where X = 3 for days, 2 for hours...

on the row before each statement

MSPJGrid.Refresh();


Hope this helps,

Gérard Ducouret
 
J

John Sitka

Didn't work easily as a single page edit.
the Browser Source of projectreport.asp
shows a greater number of

MSPJGrid.Refresh();
method calls
because of all of the various includes and script libraries

Do you think I need to go through all of those? (functions etc.) and make the
MSPJGrid.TextConv.SetTimeProps(2) addition there as well. I don't think that is the best way even though it may work.
 
J

John Sitka

One observable behaviour is an autofilter->custom filter condition as equal to <some hour value> on
either Enterprise Task Duration column will indeed filter the view, so it's just a format thing,
However I haven't yet found the best way to set this property MSPJGrid.TextConv.SetTimeProps
and make it stick.
 

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