joniles / mpxj

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

UDF values ​​in WBS do not exist when extracted from PRIMAVERA XML format #380

Closed SaromAndrade closed 1 year ago

SaromAndrade commented 2 years ago

I'm trying to get the values ​​of the UDFs for the WBS, but which one I extract using the PrimaveraPMFileReader class and saved in another XML format using the MSPDIWriter class, these values ​​do not appear. NOTE: Values ​​appear normally when I use the XER file.

image image XML EXPORTED FROM PRIMAVERA

image image AFTER THE EXTRACTION PROCESS

image EXPORTED XER

SaromAndrade commented 2 years ago

XMLs AND XER https://drive.google.com/drive/folders/1PabkuI24YbhqzXyGXy4rt9WVZNmzNO-Q?usp=sharing

diegosechin-timenow commented 2 years ago

It's occurs at project level too.

diegosechin-timenow commented 1 year ago

@joniles you have idea when will see it? If you need help to simulate or more informations, we are here to support you.

joniles commented 1 year ago

Hello! Thanks for the bug report, and apologies for the delay in responding. I've merged a fix today which will ensure that UDF values will be read for WBS entries. The fix will be in the next MPXJ release so I'll close this issue for now.

Note that if you are using MPXJ's functionality to write PMXML files, unfortunately at the moment we won't be writing these UDF values for WBS entries, which is something I'll be tackling in future.

@diegosechin-timenow currently reading UDF values at the project level is not supported, however one of the first pieces of work I'm planning to tackle this year will enable this functionality.

joniles commented 1 year ago

Hello @diegosechin-timenow hope you are well. Just a quick note to let you know that I released MPXJ 11.0.0 today, which has the ability to read project level UDF values from P6 schedules. Enjoy!

diegosechin-timenow commented 1 year ago

Thanks @joniles .

We will update and test it soon.