Close Tasks to Update (Lock Task) using PSI Code in MOPS 2007

Answered Close Tasks to Update (Lock Task) using PSI Code in MOPS 2007

  • 7 februarie 2011 06:53
     
     

    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

Toate mesajele

  • 7 februarie 2011 15:53
     
     Răspuns

    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.

  • 17 aprilie 2012 07:39
     
     

    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