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

Notifications

Announcements

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
BillurSamdancioglu Profile Picture

BillurSamdancioglu 95 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 80 Super User 2025 Season 2

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans