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?

  • Suggested answer
    Ana Almeida Profile Picture
    on at
    RE: totaltax being recalculated

    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

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at
    RE: totaltax being recalculated

    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 !

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 97

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans