Won / Lost reasons on Dynamics CRM Opportunity
1. Enable customization of the Opportunity Close form
https://docs.microsoft.com/en-us/dynamics365/sales-enterprise/enable-opportunity-close-customization
2. Add parent optionset field and child optionset field to Opportunity Close entity.
(To simplify demonstration, I didn't add option 3 and child option 4 and 5.)
Parent optionset

Child optionset

3. Import a PCF solution: Dependent Optionset PCF to system, it can help us to build dependent optionset.
https://github.com/AndrewButenko/DependentOptionset_PCF
As the tutorial said, we add the custom control to child optionset.
Test
There isn't child option for Option 1:

When we switch to Option 2, child options will display.

Process in gif:

It also works for Close as lost form.
Regards,
Tanesh Kumar
Comments
Post a Comment