Help with Enterprise Custom Field

P

Parker Freeman

I have created the following convoluted code to drive a task status
indicator:

Switch(ProjDateDiff(date(),[Baseline Finish])<0 And [% Complete]<100,"Late
Task",(ProjDateDiff([Baseline Finish],ProjDateAdd(date(),480))<=480) And
(ProjDateDiff([Baseline Finish],ProjDateAdd(date(),480))>=0 And [%
Complete]<100),"Due Within 1 Day",(ProjDateDiff([Baseline
Finish],ProjDateAdd(date(),4*480))<=4*480) And (ProjDateDiff([Baseline
Finish],ProjDateAdd(date(),4*480))>=0 And [% Complete]<100),"Due Within 5
Days",True,IIf([Actual Finish]=ProjDateValue("NA"),"No
Concern",IIf(ProjDateDiff([Actual Finish],[Baseline Finish])<0,"Late
Finish","On Schedule Finish")))

Believe it or not, it works fine in the local version of the project loaded
into a local custom task text field. However, if I check out the Enterprise
Global and create an enterprise task text field and use the same code (and
save the EG ). I get a blank field when I add the Enterprise custom field
to a view in PWA. All of the fields used for calculations are the same on
the server as in the local project.

Any ideas would be appreciated
 
P

Parker Freeman

Seems to have fixed itself. It appears that there is a delay between
submitting the change and when it appears in PWA
 

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