Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Answered

Locked work order type field

Posted on by 105

How do I fix this?

The wrong work order type was selected and scheduled to a technician.  The work order field is locked and even after un-scheduling the work order, the field is still locked.  Does anyone have any suggestions of how to update the current work order or do we have to cancel this work order and start again? 

  • venkatsr Profile Picture
    venkatsr User Group Leader on at
    RE: Locked work order type field

    Hi,

    Use a workflow to handle this.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Locked work order type field

    Hi Partner,

    Has the problem been solved? Any updates?

    Please click Yes under "Did this answer your question?" to close this thread.

    pastedimage1598609969387v1.png

    Thanks. 

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Locked work order type field

    Hi partner,

    If you just want to update one field(work order type), Flow that I mentioned above is an easy way to achieve it.

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • K Crawford Profile Picture
    K Crawford 105 on at
    RE: Locked work order type field

    PG - I apologize for any confusion.  It it one work order that has a booking status of Scheduled and the Work Order Type field is locked.  I tried changing the status back to Open-Unscheduled, but the WO type field still remains locked.

  • Pankaj Gogoi Profile Picture
    Pankaj Gogoi 3,177 on at
    RE: Locked work order type field

    Hello Crawford,

    Your post heading says work order type and in your description it says work order field is locked. Are you trying to update the field for one WO or multiple. Is there any custom code running on the work order type field.

    You can't cancel a work order if in progress bookings exist. If the booking status is Canceled, and is the only booking, the work order system status will revert to Open-Unscheduled.

    Best Regards

    PG

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Locked work order type field

    Hi partner,

    You don’t need cancel this work order and start again, Flow can help you update locked work order type field easily.

    Here are steps.

    1.Go Power Automate(https://flow.microsoft.com/) to create an insitant flow.

    pastedimage1598419198500v1.png

    The work order type field is lookup field, the lookup fields display the name of the record, but they actually store the ID in the field. So you will need to hardcode the Id of work order type.

    2.The simplest way to get ID of work order type is from URL (following picture with red underline).

    pastedimage1598419213041v2.png

    3.Test.

    (1) Wait several minutes to refresh form, expand flow to run the flow just created.

    pastedimage1598419220910v3.png

    (2) After running flow, work order type field has updated successfully.

     pastedimage1598419233602v4.pngpastedimage1598419241117v5.png

                             Before                                                                                     After

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans