Hi,
We are attempting to set the daily Cost for a ResourceAssignment programmatically.
Conceptually, we would like to get the TimephaseData (type = ResourceAssignment) and then iterate through the days in the collection and *SET* the daily [Cost] Value.
The Cost is a more complex calculation that just units * resource rate, hence the need to do this external to MS Project and set the values in the *.mpp.
Basically, we are trying to do this:
ResourceAssignment ra = ...;
TimephaseData tpd = ra.GetTimephasedData(start, end, TimephasedDataType.ResourceAssignment);
foreach(TimephaseData td in tpd)
{
td.Value = ...; //our computed value
}
We desire to see our entries appear in the "Details" view of the Task Usage View in MS Project, but the above code is not cooperating...
Any assistance would be greatly appreciated,
Thanks,
Doug