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?
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?
Hi Ainsley,
This behavior is done by the WorkOrders.Library.Load onload event:
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); } }
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156