Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Question a...
 
Notifications
Clear all

[SOLVED] Question about Resetting Values in My Template Project (Project ID 21)

7 Posts
2 Users
0 Reactions
2,354 Views
(@chandrashekhar)
Posts: 275
Contributor
Topic starter
 
[#9730]

Hi There,Hope you're having a good day.I've been working on setting up a template project (Project ID 21) with some pre-existing planning information. I'd like to reset the planned start date, end date, and duration for these template tasks to be null or zero so they can be easily customized for new projects.I was considering using the following SQL update statement to achieve this:update planningelement set plannedStartDate=null, plannedEndDate=null, Plannedduration=0
where idproject=21 and (plannedStartDate is not null or plannedEndDate is not null or ifnull(Plannedduration,0)0) ;Before I proceed, I wanted to humbly ask for your expert guidance. I'm a little unsure about any potential knock-on effects this might have on other related data or functionalities. Would you mind taking a quick look to see if you foresee any potential issues or have any suggestions for a better approach? I really appreciate you taking the time to help me with this, especially since you're so generously providing this support without charge.

Thank you so much for your consideration!Best regards,


 
Posted : 06 Feb 2025 10H47
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Never use DB updates unless your are sure of what you do.
What you try and do will set the mess.

Use multiple update feature


 
Posted : 08 Feb 2025 14H38
(@chandrashekhar)
Posts: 275
Contributor
Topic starter
 

Hi,

Thank you for the suggestion – using the multiple update feature for activities was my first thought as well. I tried to use it to update the planningelement, plannedStartDate, plannedEndDate, and Plannedduration fields, but they don't seem to be present in the options. I've attached a screenshot; am I missing something, or is there a specific configuration needed to access these fields?
 


 
Posted : 10 Feb 2025 8H31
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

The "planned" values are readonly, as they are calculated by planning calcvulation process.
Just go to Gantt view and calculate planning to update these fields.


 
Posted : 10 Feb 2025 13H15
(@chandrashekhar)
Posts: 275
Contributor
Topic starter
 

Hi,

Is it compulsory to run planning calculation?
What if I've been working on setting up a template project?

There is no planning needed in template project.

Could you guide me accordingly?


 
Posted : 10 Feb 2025 14H22
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Template projets are planned, to show you what it gives with constraints you defined, planning modes and so one, but their planning is not stored.


 
Posted : 18 Feb 2025 11H55
(@chandrashekhar)
Posts: 275
Contributor
Topic starter
 

Thanks,I truly appreciate the time and effort you spent helping me with this. After considering your guidance, I found a solution by creating a copy of each activity in the planning screen to retain records of those with planning dates and duration. I then kept the newly created records without planning dates and duration, removed the old ones, and achieved my intended outcome.Thanks again for your support and the efforts you put into guiding me toward a solution!Best regards


 
Posted : 18 Feb 2025 14H17
Share:

Scroll to Top