mpxj icon indicating copy to clipboard operation
mpxj copied to clipboard

Issue with ACWP, BCWS, BCWP, SV, CV, ... MPP Fields methods

Open amitparsha opened this issue 3 years ago • 2 comments

Hey,

For the following MPP Fields ACWP: Method getACWP() BCWS: Method getBCWS() BCWP: Method getBCWP() SV: Method getSV() Project: Method getProject() Resource Initials: getResourceInitials()

These above method always return None value even there are values available in the MPP file.

CV: Method getCV() CV method always return 0.0 value even there are values available in MPP file.

amitparsha avatar Aug 26 '22 15:08 amitparsha

@amitparsha thanks for opening this issue. As far as I can tell, the ACWP, BCWS, BCWP, BCWP, SV and CV attributes are all calculated dynamically by MS Project rather than being stored in the MPP file. This means that I'll need to perform the same calculation in MPXJ in order to provide these values. This is certainly an enhancement I'd like to make, but it's just not something that I have prioritised currently.

I will take a look at the Project and Resource Initials attributes. I'm assuming you are referring to the Task.getProject() and Task.getResourceInitials() methods?

joniles avatar Aug 30 '22 12:08 joniles

@amitparsha thanks for opening this issue. As far as I can tell, the ACWP, BCWS, BCWP, BCWP, SV and CV attributes are all calculated dynamically by MS Project rather than being stored in the MPP file. This means that I'll need to perform the same calculation in MPXJ in order to provide these values. This is certainly an enhancement I'd like to make, but it's just not something that I have prioritised currently.

I will take a look at the Project and Resource Initials attributes. I'm assuming you are referring to the Task.getProject() and Task.getResourceInitials() methods?

Yes, I'm referring to the Task.getProject() and Task.getResourceInitials() methods.

amitparsha avatar Sep 06 '22 10:09 amitparsha