Menu

#247 Primavera import changes + test cases

v1.0_(example)
closed-fixed
Jon Iles
None
5
2015-01-23
2014-08-15
No

Changes made to the library to align pmxml import with the xer import. I have attached a patch, changed files as well as sample data in both xer and xml formats for review.

MPXJ Changes

PrimaveraPMFileReader.java

- Added Project ID to match value from PrimaveraReader
- Change setPercentageComplete to support Physical Percent, Duration Percent and Units Percent. The percent complete method is captured in the PercentCompleteType field.
- Changed baseline values to match values from PrimaveraReader. target_ values match Planned
- Added ActualDuration to match value from PrimaveraReader act_drtn_hr_cnt
- Added Duration. This is the completed duration or the current task duration taking into account actual and remaining (Actual + Remaining is captured in AtCompletion values)
- Changed LateStart, LateFinish, EarlyStart, EalryFinish values to pull from correct XML fields
- Start and End should come from the start and end date xml values. This covers the case where the task is running late and hasn't been complete. Remaining Start / End date
- Added MILESTONE_MAP and milestone logic from PrimaveraReader 
- Mark a task as critical when the late start is less than or equal to the early start. This takes into account Primavera negative float
- Add cost data to tasks when the resources are processed. This is so that we include material values in the actual, remaining and baseline cost values

PrimaveraReader.java / PrimaveraXERFileReader.java

##########################################################
- Start and End dates should look at restart_date and reend_date for open tasks. This shows the correct dates when a task is running late
1 Attachments

Discussion

  • Jon Iles

    Jon Iles - 2014-08-18
    • assigned_to: Jon Iles
     
  • Jon Iles

    Jon Iles - 2014-08-18

    Thanks for the contribution, I'll integrate the changes this week.

     
  • Jon Iles

    Jon Iles - 2014-08-18

    I've added these changes to Git. Thanks for the contribution!

     
  • Jon Iles

    Jon Iles - 2014-08-18
    • status: open --> closed-fixed
     
  • Nathaniel Marrin

    Thanks for updating Git.

    Looks like the merge brought in comments for setLateStart, setEarlyStart, etc. Attaching a patch from git.

     
  • Jon Iles

    Jon Iles - 2014-08-18

    Thanks for spotting that - I've applied the patch.

     

Log in to post a comment.

MongoDB Logo MongoDB