I deployed Field Service 7.3.0.123 to two v9.0 organisations. In both cases I got a JavaScript error when opening up the main "Opportunity" form, for a new or existing Opportunity.
The reason is as follows:
On the main Opportunity form, FS.Opportunity.Library.Load has been added as an OnLoad event handler. However, the following scripts were not added to the form's Form Library list:
msdyn_/Utils/head.js
msdyn_/Opportunity/Opportunity.Library.js
msdyn_/Utils/ResourceLoader.js
The event handler and the three libraries were added to a new "Field Service Information" form that got deployed as part of Field Service. Adding the libraries to the main form resolves the issue.
Cheers,
John
Comments
Hi John,
We are not able to repro on our side, would you please share detailed repro steps and screenshot of the issue, we can take a look ? I suggest to report this issue to D365 support team as well, they will troubleshoot case by case, involve our Engineer team as needed, this idea portal more for feature feedbacks /suggestions , not for addressing urgent bugs
Regards,
Feifei Qiu | MSFT PM
Category: Field Service
Hi John,
We are reviewing this issue, will let you know if able to repro or not.
Regards,
Feifei Qiu | MSFT PM
Category: Field Service
Jason jacoh@microsoft.com (administrator) on 3/10/2020 3:19:21 AM
Thank you for reaching out.
Your suggestion seems to be a product bug.
Please reach out to the relevant support channels as specified in Product support (http://go.microsoft.com/fwlink/?LinkID=616937).
Sincerely,
PM,
Microsoft.