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 :
Customer experience | Sales, Customer Insights,...
Answered

totaltax being recalculated

(0) ShareShare
ReportReport
Posted on by 155

On the entity invoice I have a small JavaScript that set the value of totaltax to null when clicked.

Xrm.Page.getAttribute("totaltax").setValue(null);

Everything is working as intended until the invoice is saved, then the totaltax field is recalculated with the values from the invoicedetails.

I have no JavaScript that runs OnSave. I have deactivated all the workflows / business rules on the invoice entity. And there are no plugins associated with the Invoice.

 

What is causing the totaltax field to be recalculated, when the invoice is saved?

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,218 User Group Leader on at

    Hi,

    It's by design. Please check this blog to understand the OOB functionalities related to the invoice calculation:

    celedonpartners.com/.../

    You should take a look to your invoiceDetails. Good luck !

  • Suggested answer
    Ana Almeida Profile Picture
    Microsoft Employee on at

    Hello Gansea,

    Can you verify if value of the Organization.OOBPriceCalculationEnabled attribute is set to 0 (false)?

    To do it, go Sales tab in the system settings area in Dynamics 365 for Customer Engagement or Microsoft Dynamics 365 for Outlook to disable system pricing.

    pastedimage1594125863552v1.png

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

#1
ManoVerse Profile Picture

ManoVerse 103 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 83

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans