Close Tasks to Update (Lock Task) using PSI Code in MOPS 2007
-
Monday, February 07, 2011 6:53 AM
Hi,
I'm trying to lock all the tasks for a project using C# Code, could any one send me the method or code to do this. I tried with ProjectDataSet.Task[index].TASK_IS_Active Method but I get compilation error @ TASK_IS_ACTIVE Method.
Thanks in Advance.
-Bob
All Replies
-
Monday, February 07, 2011 3:53 PM
Hi Bob,
in order to lock tasks, you must use QueueLockDownTasks webmethod in Statusing webservice.
You fill a ProjectDataSet with task that you want lock and pass it as parameter to QueueLockDownTasks method.
I hope this can help you,
Best Regards
Paolo O.
- Marked As Answer by Jim CorbinModerator Tuesday, February 08, 2011 12:44 AM
-
Tuesday, April 17, 2012 7:39 AM
Hello Paolo!
I am trying to do this, but I'm not sure how to fill a ProjectDataSet. Could you point me in the right direction? Also, where do I find values for jobUID and projguid which also need to be passed as parameters?
Thank you and best regards!
Andrew