web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Duplicate Orders being created - disable Create Order button?

(0) ShareShare
ReportReport
Posted on by 1,266

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

I have the same question (0)
  • Suggested answer
    Syed Ibrahim Profile Picture
    6,257 on at

    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.

  • Verified answer
    Community Member Profile Picture
    on at

    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

    http://www.francescopicchi.com

  • Luke Sartain Profile Picture
    1,266 on at

    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

  • Luke Sartain Profile Picture
    1,266 on at

    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  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans