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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

PreUpdateQuoteProduct Not Recalculating totalamount

(1) ShareShare
ReportReport
Posted on by 15

Hi there everyone!

I am working in Microsoft Dynamics CRM 2011. We have a plugin that is firing Pre-Operation on QuoteProduct that simply checks if the ispriceoverridden is 1, if it is it sets manual and volume discount amounts to 0. This seems to be working great on a per QuoteProduct (line item) basis, but it is not updating the totalamount on the Quote itself.

We have an identical plugin on the Pre-Operation of OrderProduct doing the same thing, that is working as expected. Why would the Quote totalamount not be calculating correctly (it seems to be still applying the volume discount).

*This post is locked for comments

I have the same question (0)
  • David Jennaway Profile Picture
    14,065 on at

    The calculation sequence is a bit complex, and it's possible that quotes and orders are slightly different, but I've not seen that. It's worth checking the execution order of your plugins, though the system calculations normally work on a difference stage from those available to custom plugins.

    It's worth enabling auditing to see what is happening in the calculation sequence. This also shows that some of the system calculations do the Update on a Retrieve

  • ZT_Matt Profile Picture
    15 on at

    Thank you for your response.

    We have checked the audit trail and everything looks perfect. The Update is showing the volume discount being set to 0 and the calculations on the individual line items are correct, but the totalamount calculation for the Quote is still incorporating the volume discount.

    When reopening the Quote Product from the Quote page, everything is showing up as expected and the only other extras on the audit trail are showing Retrieve of the ispriveoverridden  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans