
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
Shortly after posting found the answer myself. Can be done by calling following command:
Sales.QuoteRibbonActions.Instance.acceptQuoteOrCreateOrder();