Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 664 Most Valuable Professional
André Arnaud de Cal... 522 Super User 2025 Season 2
Sohaib Cheema 303 User Group Leader