I'm exporting an mpx file from my web app. and can create my tasks and assign my resources to each task. For each resource I use the following code:
//cast resource from the aspose resource collection in the mpxfile and set properties
resource = (Resource)mpxFile.AllResources;
resource.MaxUnits = 75.00;
resource.Peak = 75.00;
The resource is added to the resource assignments on the task fine but no matter what I set the Peak to, every resource has a unit of 100% when I view the task data in MS Project Pro 2003. The MaxUnits value works fine when I view the Resource Sheet in MS Project? Is there another property I have to set to make the Peak units appear?
Please can you advise on why this is happening as soon as possible please.
Many thanks in advance