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

Community site session details

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

How to prevent a quote from being revised multiple times

(0) ShareShare
ReportReport
Posted on by 10

Hello,

We currently use the out of the box quote revision process.

An issue we began seeing recently is users clicking the revise quote button multiple times in a row, resulting in "duplicate" quotes being created. For our process, in theory, there should only be 1 editable quote ID in the system at a time. The reason being is once a quote is activated, it hits our ERP system. Our ERP system has checks in place to prevent the duplicate data from being saved (overlapping timeframes, etc), but i'd like to prevent this on the front end in D365.

I tested using a duplicate detection rule and it didn't work because upon quote revision, the newly created quote is auto saved by the out of the box process. I also tried to disable the autosave via an OnSave script but that didn't work either.

I'm curious if anyone else has run into this issue, or if anyone has any other suggestions.

Thanks!

Mike

I have the same question (0)
  • Verified answer
    LuHao Profile Picture
    40,892 on at
    RE: How to prevent a quote from being revised multiple times

    Hi Mike,

    To prevent users from revising Quote multiple times, we can prevent Quote from being revised through real-time workflow.

    The number of revisions of Quote is reflected by the Revision ID field, so we need to use it as a condition.

    For example, I want to set that each Quote cannot be revised more than once. Then when the value of the Revision ID field is greater than 1, the user revises the Quote again, triggering a real-time workflow to prevent revision.

    Go to Settings > Processes, new a workflow. Entity is Quote. Uncheck Run this workflow in the background.

    pastedimage1603358337022v1.png

    Set the workflow as follow.

    pastedimage1603358919881v5.png

    Step 1. Check condition

    pastedimage1603358525400v3.png

    Step 2. Stop workflow

    pastedimage1603358623113v4.png

    Activate the workflow.

    If a Quote has been revised once and it is active, when the user click Revise button, he will see an error, and the Quote will not be revised.

    pastedimage1603359933091v6.png

    Points to note:

    Scope needs to be selected according to your business situation, here I recommend "Parent: Child Business Units", and change the owner of workflow to the manager. 

    The advantage of this is that when users of manager's business unit and child business unit revise Quote more than once, the workflow will be triggered, but it does not for users of the parent business unit. In this case, if the Quote needs to be revised a second time, the users of the parent business unit can perform the revision normally.

  • Mike M 904 Profile Picture
    10 on at
    RE: How to prevent a quote from being revised multiple times

    Thanks Hao. I'll need to make some adjustments to some of the conditions to further tailor it to our specific needs, but this will work!

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 179 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 61 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans