Update Resource Standard Rate Using PSI

V

Vybez

I've been trying to update standard rates for resources using the PSI to no
avail.
Firstly, the ResourceDataSet does not allow direct access to the standard
rate as it does to other fields. e.g. to access the resource name you can
use: resourceDs.Resources[1].RES_NAME
but to access the resource rate you would use:
resourceDs.Resources[1]["RES_STD_RATE"]
which is not part of the properties of .Resources.
After updating the rate by using, say:
resourceDs.Resources[1]["RES_STD_RATE"] = 430
the update reflects in the ResourceDataSet, but when you do the final update
to Project Server by using:
resourceSvc.UpdateResources(resourceDs, false, true);
the changes do not reflect in the Resource Pool.
Does anyone know how to achieve this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top