Closed Fabian-Schmidt closed 3 months ago
Hello! Thanks for opening this issue. The timephased work handling code in MPXJ does have some shortcomings and I am planning to begin overhauling this code in the next few months to address this and other related problems. Apologies that this won't be a short term fix.
In the meantime you can try setting the "Use Raw Timephased Data" flag to true:
MPPReader reader = new MPPReader();
reader.setUseRawTimephasedData(true)
this should give you the data exactly as it is represented in MS Project, but you will probably need to write your own code merge/segment it into the timescale you need.
I will update this issue once I have made progress with the longer term work on improving timephased data handling.
Thanks for the quick response.
When using "Use Raw Timephased Data" the result is worse. As it reads 8.3478..h
for every day. So the sum does no longer match.
I updated the first message with this new data.
Hi, Thank you for this library. I am using the MPXJ library to read time phased work from MPP files. I encountered an issue when reading the work via MPXJ. It does not match what is reported in Project in the Task usage view.
Simplified scenario is as follow:
The sum is correct but the distribution is wrong.
I am using the latest .NET version of the MPXJ library.
MPP example file: ManualTaskTimephasedv2.zip