joniles / mpxj

Primary repository for MPXJ library
http://www.mpxj.org/
GNU Lesser General Public License v2.1
246 stars 104 forks source link

Question: Is there a way to schdule project on MPXJ #745

Open iMohannad opened 2 months ago

iMohannad commented 2 months ago

Hi,

I have this use case where I read primavera file, do some changes in the tasks, for example, changing progress percent for different tasks, and then I want to schedule the project based on the new changes (for example if a task has finished earlier than planned date, I expect some tasks in the same path to be finishing earlier). I do not want to open Primavera and Click on F9 or Schedule to schedule the project.

Is there a way to schedule projects from MPXJ library?

joniles commented 2 months ago

I'm currently working on this functionality, it's likely to be a little while before this is usable, but progress is being made.

iMohannad commented 2 months ago

Oh that is perfect. Thank you for your quick response.

Is there any expected timeline for this functionality? That would be really helpful to know.

We are really looking forward to this functionality.

szadev commented 2 months ago

Does it mean that after changing a finish field of a task, the linked (finish to start) task will not change its start in auto mode?

joniles commented 2 months ago

Is there any expected timeline for this functionality? That would be really helpful to know.

I haven't committed to a timeline for this, it's likely to be at least a couple of months.

Does it mean that after changing a finish field of a task, the linked (finish to start) task will not change its start in auto mode?

Currently MPXJ does not have the functionality to reschedule a project, so if you manually change the finish date of a task the successor task won't change. Going forward when scheduling functionality is available, the successor dates would be updated if the predecessor task's start date or duration changes.

szadev commented 2 months ago

Thank you! It is clear now. This information may be useful for others in FAQ. By the way, I wrote a simple rescheduler for my purposes today 🙂