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,
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
Hi Lars,
Did you find the method? You can customize a method by COC to suit your needs.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156