The CreatorCon Call for Content is officially open! Get started here.

Planned Start Date of Project Task populates automatically based on Planned Start Date of Project

jordimsant
Tera Guru

One colleague has noticed that Planned Start Date [start_date] of Project Tasks that are created directly from the related lists at the bottom of the form of a Project have as default value the same day as the Planned Start Date [start_date] of the Project where it is being created (despite its default value in the dictionary is "javascript: new GlideDateTime().getDisplayValue()").

 

He has asked me if I could change this to a more recent date, for example, the current date. I have looked for client scripts, business rules, properties, UI Actions and everything I could remember and I cannot find which is the entity that controls this. Can anybody tell me how to solve it?

1 ACCEPTED SOLUTION

jordimsant
Tera Guru

I have finally found the entity that does this job. It is a Display Business Rule called Set Project Task Data, specifically the function getTaskEarliestSDate(). Functions in this script are mainly used to populate g_scratchpad, but this one does some data cooking in the middle that affects the value of the start_date when creating new records. I hope you have liked this little journey of myself around the astonishing world of display business rules.

View solution in original post

3 REPLIES 3

jordimsant
Tera Guru

I have finally found the entity that does this job. It is a Display Business Rule called Set Project Task Data, specifically the function getTaskEarliestSDate(). Functions in this script are mainly used to populate g_scratchpad, but this one does some data cooking in the middle that affects the value of the start_date when creating new records. I hope you have liked this little journey of myself around the astonishing world of display business rules.

Thank you, you are the best!

i need to disable the auto dispaly of value for planned start and end date in the pm_project, i tried to disable the whole business rule, still iam facing the planned start date and end date is populated