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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Call CreateOrder dialog from custom button

(0) ShareShare
ReportReport
Posted on by 1,266

Hi all

We have a business requirement for some confirmation checkboxes to be completed before an order can be created from an active quite.  I have made a copy of the Create Order button and have this call a custom HTML dialog featuring the four checkboxes.  Once these checks have been completed I'd like to then call the out of the box create order dialog.  Any idea how I can do this using JavaScript?  I'm looking for something like:

Mscrm.RibbonCommands.acceptQuoteOrCreateOrder();

Ideally I'd like to avoid having to create my own custom dialog when the out the box one is perfectly fine.

Cheers.

Luke

I have the same question (0)
  • Verified answer
    Luke Sartain Profile Picture
    1,266 on at

    Shortly after posting found the answer myself.  Can be done by calling following command:

    Sales.QuoteRibbonActions.Instance.acceptQuoteOrCreateOrder();

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans