Announcements
No record found.
Hi experts,
I am getting the below error while getting Sales tax calcution check the error
I am getting error in an abstract class SalesCalcTax_SalesThe method name is: CalcTax
The error is Method is obsolete. This method is no longer supported
Hi Shabir,
What version and CU of AX 2012 are you on? I don't see this method marked as Obsolete. Also, could you share where you are getting this error?
Hi Gunjan Bhattacharyya,
I am using this class for a report SSRS report Sales calculation.
Best Regards,
Shabir Ahmad
Aha, so it's about TradeCalcTax::setTotalLineDiscountForDocument().
Are you saying that it's your own code? If so, the best approach would be fixing this problem but not using the deprecated method.
In standard instance of AX 2012, I don't see this method call, as highlighted by you. I can see this call, as highlighted below -
Did you make any change to the method?
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 663
André Arnaud de Cal... 439 Super User 2026 Season 1
Syed Haris Shah 337 Super User 2026 Season 1