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 :
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,216 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
    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

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 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans