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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 590 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 349

#3
Diego Mancassola Profile Picture

Diego Mancassola 263

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans