Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Assigning resources to the tasks using PSI

$
0
0

Hi,

Let me first explain the scenario,

Am adding resource assignments to the tasks in the following manner:

AssignmentRowaRow = projectDataSet.Assignment.NewAssignmentRow();

                        aRow.PROJ_UID = project.PROJ_UID;

                        aRow.ASSN_UID = a.ASSN_UID;

                        aRow.TASK_UID = a.TASK_UID;

                        aRow.RES_UID = a.RES_UID;

                        aRow.ASSN_UNITS = a.ASSN_UNITS;

Here, the ASSN_UNITS is the percentage of the resource allocation to the corresponding tasks. And I call a project update.

The assignment is also getting created to the correct tasks, but the issue is resource allocation %(ASSN_UNITS) is not updating correctly, its updating as 1% whatever value you pass in for ASSN_UNITS.

For quick info:

-Tasks are manually schedule

-TaskType set to default Fixed Units

Please let me know, if there is any other way to update/create resource assignments with correct update.

Cheers,

Amit


Viewing all articles
Browse latest Browse all 5347

Trending Articles