web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Work Order System Status not automatically set "Open-Unscheduled"

(0) ShareShare
ReportReport
Posted on by 90

Hello,

Work Order System Status is not automatically set "Open-Unscheduled" on the form. it is blank. I have checked the javascript for the form, does not seem to be an issue. is there settings I can check?

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi Ainsley,

    This behavior is done by the WorkOrders.Library.Load onload event:

    pastedimage1637629210404v1.png

    You can check it is disabled or not.

    If it is enabled, you could replace this library with the following code (Please backup your content of this library first):

    [View:/cfs-file/__key/communityserver-discussions-components-files/761/WorkOrder.Library.js:320:240

    If replace library can't work too, you could create an onload event to achieve this:

    function onLoad(executionContext){
        var formContext = executionContext.getFormContext();
        var status = formContext.getAttribute("msdyn_systemstatus").getValue();
        if(status == null){
            formContext.getAttribute("msdyn_systemstatus").setValue(690970000);
        }
    }
    

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 101

#2
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans