Hi,
We cloned the Opportunity system form as custom form and didn’t make any customization in this form.
But when we tried to save opportunity record from the custom form then we are facing an issue as shown in the below screenshot.
We got this issue on each and every CRM organization that we have tried.
But we don’t get any error, when we are saving the Opportunity record from the system form.
Error log is as below.
TypeError: Cannot read property 'Metadata' of undefined
at Object.GetOrderType (sd.crm.dynamics.com/.../SalesDocumentFormLoader.Library.js:1:5679)
at Object.FormApplies (sd.crm.dynamics.com/.../SalesDocumentFormLoader.Library.js:1:4312)
at Object.OnLoad (sd.crm.dynamics.com/.../SalesDocumentFormLoader.Library.js:1:909)
at sd.crm.dynamics.com/.../ResourceLoader.js
at f (sd.crm.dynamics.com/.../head.js)
at sd.crm.dynamics.com/.../head.js
at w (sd.crm.dynamics.com/.../head.js)
at Array.<anonymous> (sd.crm.dynamics.com/.../head.js)
at u (sd.crm.dynamics.com/.../head.js)
at Function.i.load.n (https://sd.crm.dynamics.com/%7B636467567970000136%7D/WebResources/msdyn_/Utils/head.js?ver=1876028703:30:2405)
Please let us know if you guys found any solution for this error.
Thanks,
Yasir







