We have an issue with our users being somewhat impatient when clicking "Create Order" on a Quote. As it can take over 10 seconds between the Create Order dialog window disappearing and the newly created Order appearing, users are clicking Create Order again - resulting in duplicate Orders being created. My initial thoughts are to create a plugin registered on Create Order to check for duplicates but ideally would prefer to disable or hide the Create Order button to prevent it from being clicked for a second time. I know I can hide this button using the ribbon workbench but do not know if it is possible to hide it only if the user clicks OK on the Create Order dialog. If they click cancel the button should remain visible.
Any suggestions on how to overcome this issue would be greatly appreciated.
*This post is locked for comments
Hi Syed
Definitely a nice feature that we could use alongside Francesco's second option but we're not yet able to upgrade to 9.0.
Luke
Hi Francesco
Thanks for your response it was very helpful. Definitely agree dealing with standard buttons and actions is painful so will write a quick plugin to do the job.
Thanks once again!
Luke
Hi Luke,
you could:
1) add an action to create order click action by Ribbon Workbench or
2) substitute the create order button, replicating the rules of create order incapsulting the final action in a method which hide the button before execute it
3) add a plugin step on order pre-create message to skip the creation of duplicated order
Personally i prefere plugin because give you more control, ribbon workbench could be painful when you deal with standard buttons/actions.
Please let us know.
If you found the answer helpful, please mark as Verified
Join my network on LinkedIn Follow me on Twitter
Thank You & Best Regards
Francesco Picchi
Microsoft Dynamics CRM Consultant, Bologna, ITALY
Independent Contractor
There is cool feature to make user to wait upon some time take operation in the background by showing custom message on progress bar.
Call the below js upon the event triggered.
function ShowCustomMsg() { Xrm.Utility.showProgressIndicator("Loading contact email.."); setTimeout(delayedLoadPrimaryContact, 10000); }
For more detail. Pls refer below link.
community.dynamics.com/.../dynamics-365-v9-progress-indicator-api
Hope this will solve your problem.
André Arnaud de Cal...
292,111
Super User 2025 Season 1
Martin Dráb
230,934
Most Valuable Professional
nmaenpaa
101,156