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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to get CustInvoiceTrans lineamount before tax for Price Include Tax

(0) ShareShare
ReportReport
Posted on by 596

Hi guys,

In CustInvoiceTrans, is there any existing method to get LineAmount before tax for Price Include Tax scheme ? 

I found this quite difficult to achieve, as there is method called LineAmountInclTax() which has this calculation : "this.LineAmount + this.LineAmountTax", that suggested that the LineAmount is exclude (before) tax, but if the Invoice already flag as Price Include Tax, it became wrong.

There are some other methods in the table, but I have doubt on which is the best to get my "total amount" before tax.

Thanks,

I have the same question (0)
  • Suggested answer
    huijij Profile Picture
    19,811 on at

    Hi Lars,

    Did you find the method? You can customize a method by COC to suit your needs.

    learn.microsoft.com/.../method-wrapping-coc

  • Suggested answer
    Voltes Profile Picture
    596 on at

    Hi Judy,

    Yes, but I just wondering whether there is already existing method for this ? I mean this is a standard or common calculation whereby sometime we have Price Include Tax in our transactions, it feels odd to have custom method.

    There are a bunch already actually, I guess it was build for our choice based on our scenario. I ended up using this -> lineAmountPreAddOfSalesMarkup()

    Thanks

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

News and Announcements

Season of Giving Solutions is Here!

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 357 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans