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)

Quote close without creating the order

(0) ShareShare
ReportReport
Posted on by 6

Hello All,

How to achieve functionality.

1. closing the opportunity without creating order from the quote.

as if quote is active or draft the opportunity can not be closed as WON.

give me some pros and cons as well step by step implementation.

Thanks in Advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    razdynamics Profile Picture
    17,308 User Group Leader on at

    Hi, So what is the reason for Closing the Opportunity Prematurely, Why Not Just add another Status or Stage to the opportunity that will help you identify the stage for the Opportunity without having to close it until the outstanding items for the opportunity are closed?

  • Suggested answer
    Community Member Profile Picture
    on at

    I guess you are  going to create order in some other erp after integration.

    Please provide a custom ribbon button as "won quote " or " lost quote", through js close quote as won or lost.

    Regards,

    Nithin

  • Suggested answer
    Community Member Profile Picture
    on at

    here modify the code

    function SetActivateButton() {

       try {

           if (Xrm.Page.context.client.getClient() == "Web" || Xrm.Page.context.client.getClient() == "Outlook") {

               var totalDiscount = Xrm.Page.getAttribute("ac_totaldiscountpercentage").getValue();

               var status = Xrm.Page.getAttribute("statecode").getValue();

               var statusreason = Xrm.Page.getAttribute("statuscode").getValue();

               if (totalDiscount != null && totalDiscount != undefined && totalDiscount != 0) {

                   if (status != null && status != undefined && status == 0) {

                       if (statusreason != null && statusreason != undefined && statusreason == 948140001) {

                           return true;

                       }

                       else {

                           return false;

                       }

                   }

               }

               else if (totalDiscount != null && totalDiscount != undefined && totalDiscount == 0) {

                   return true;

               }

               else if (totalDiscount == null) {

                   return true;

               }

           }

       }

       catch (err) {

           alert(err.message.toString());

       }

    }

  • EmployeeOcta Profile Picture
    6 on at

    Hello Raz,

    I have already mention in my post i don't  want to create the order from the quote.

    but quote  is needed for an opportunity with write in products.

    How to close quote without creating the order such that i'll be able to close the opportunity.

    As you know if the quote is active or in draft mode we cannot close the opportunity.

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