Folks,
I have an MPP File, in which I would like to update the work progress by setting the TimePhasedData. Please see the attached screenshot for a better clarification. mpp_req_01.PNG (60.3 KB)
I have tried this one
//JAVA
`ResourceAssignment assn = project.getResourceAssignments().getByUid(18);
assn.set(Asn.WORK_CONTOUR,WorkContourType.Contoured);
TimephasedData td = new TimephasedData();
td.setUid(18);
td.setStart(assn.get(Asn.START));
td.setFinish(new Date(assn.get(Asn.START).getTime()+86400000));
td.setValue("2");
td.setUnit(TimeUnitType.Hour);
td.setTimephasedDataType(TimephasedDataType.AssignmentActualWork);
assn.getTimephasedData().add(td);
project.recalculate();
project.save(HOME_DIRECTORY+"Project1_2007_out.mpp", SaveFileFormat.MPP);`
But no hope
My Requirement:
- I already have an MPP file, that is manually generated using MSP2016.
- I need to update the actual work done on a weekly basis(or so) in the MPP file using Aspose.
How can I achieve this ???
Any help may be really appreciated.
Thanks in Advance