Menu

#199 Extract Primavera Task ID

closed-fixed
Jon Iles
None
5
2012-09-22
2012-05-22
No

Primavera uses a 20 character string to represent its id field. Currently this field is not being imported from the pmxml file as it does not fit with the integer id field from MS Project.

The attached patch addes a new value to TaskField.java and provided to appropriate getter and setter in Task.java. The value is then populated in PrimaveraPMFileReader

Discussion

  • Nathaniel Marrin

     
  • Jon Iles

    Jon Iles - 2012-09-22

    Hi,

    thanks for the patch. The preferred approach to adding attribute which do not easily map on to the Microsoft Project data model is to use custom fields. I've updated MPXJ so that it extracts the Task ID and writes this into the Text2 field. The code also sets the custom field name, so if you were to generate an MSPDI file from the data you'd read from Primavera, the Text2 column would actually be labelled Task ID.

    These changes are now in CVS.

    Jon

     
  • Jon Iles

    Jon Iles - 2012-09-22
    • assigned_to: nobody --> joniles
    • summary: Primavera ID Patch --> Extract Primavera Task ID
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB