Results 1 to 5 of 5

Thread: Changing Workorder Status

  1. #1
    Join Date
    May 2007
    Posts
    36

    Changing Workorder Status

    Hi,

    how would you change the workorder status using the API. I have been going in circles for a few days and have finally thrown the towel in !

  2. #2
    Join Date
    Aug 2005
    Posts
    186

    Re: Changing Workorder Status

    Hi Martin, if you could tell me where you're stuck I can give you more details, but in general it's done like this:

    w.WorkorderService.WorkorderStatusID = workorderStatusId;

    Where 'w' is the service work order you previously fetched and 'workorderStatusId' is the id of the status you want to set and then just save (w.save())

  3. #3
    Join Date
    May 2007
    Posts
    36

    Re: Changing Workorder Status

    Thanks for the help.

    Martin

  4. #4
    Join Date
    Aug 2005
    Posts
    186

    Re: Changing Workorder Status

    No problem, let me know if you need help with anything else.
    Cheers!

  5. #5
    Join Date
    Jul 2013
    Posts
    4

    Re: Changing Workorder Status

    It's very simple use below code
    w .WorkorderService.WorkorderStatusID = workorderStatusId;
    if you nedd further more help contact me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •