Actual Cost Update - Task Cannot Edit Summary - C#

S

Srivatsan

I am trying to update the Actual cost field as follows
taskRow.TASK_ACT_COST= Convert.ToDouble(666);
But when i update the project, i get the following error

"TaskCannotEditSummary"

Can anyone please tell me if i am missing something or is there any
dependency to do this?
 
J

Jonathan Sofer

I believe you have to check whether the task is a summary task first and you
have to skip edits to the summary tasks as they are not true tasks. The
cost and work and duration fields for summary tasks are calculated based on
the actual tasks that make them up.

Jonathan
 

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