Wrong timephased data when importing from mpp
Multi platform library to read and write schedule data
Brought to you by:
joniles
ResourceAssignment::getTimephasedActualWork() returns incorrect values when read from mpp (Project 2013). From xml it is fine. Tested with mpxj version 7.1.0. (getTimephasedWork() seems also wrong)
For example see attached mpp, task: "FixUnit50".
Use case: In the mpp we had tasks with different completion and types. Then I added an exception to the standard calendar.
More example with attached mpp. In task "ExceptionMerges" assignment with "Merge4" getTimephasedWork() has returning incorrect values. Tested with mpxj 7.0.2 & 7.2.1.
Created Issue on GitHub too: https://github.com/joniles/mpxj/issues/41
Hi, we also have this problem. In the example file, there is a split from Fri 14:00 to Monday 14:00, however this is read as if it were from Thu 14:00 to Fri 16:00. (Calendars are tricky.)
[TimephasedItem start=Mon Nov 14 15:00:00 UTC 2016 totalAmount=480.0m finish=Thu Nov 17 11:00:00 UTC 2016 amountPerDay=480.0m modified=true],
[TimephasedItem start=Thu Nov 17 14:00:00 UTC 2016 totalAmount=0.0m finish=Fri Nov 18 16:00:00 UTC 2016 amountPerDay=0.0m modified=false],
[TimephasedItem start=Fri Nov 18 16:00:00 UTC 2016 totalAmount=3840.0m finish=Thu Dec 01 06:00:00 UTC 2016 amountPerDay=480.0m modified=true]
Tested with 7.3.0
Last edit: Attila Mátyus 2018-09-05
I know this has been open a very long time, but just to confirm that MPXJ 16.0.0 is now available which has significant improvements in timephased data handling. Hopefully you'll find that this issue is now fixed.