Notifications
Announcements
No record found.
Dear Friends,
Please let me know after post the salesinvoice how data is inserting in TaxWithholdTrans_In table.
I want to know which class and method will execute.
Thanks & Regards
Rahul
Hi - the easy way to get the code place is to add a breakpoint to insert method of TaxWithholdTrans_In table and post a sales invoice and run through the code.
Thanks
I tried it but debugger is not hit in table insert method.
- Make sure that "Execute business operations in CIL" checkbox is disabled in your user options
- In AX Server configuration, make sure that debugging is enabled on the code running on the Application Object Server (don't do this in a prod system, anyway you should not debug in prod)
- Make sure that you have logged in the AOS server when you debug
Does the breakpoint hit now?
Hi Rahul,
You can check CustVoucher\createInvoiceTrans method. The TaxWithholdTrans_IN record is getting updated here. You can include your field here as well.
Thank for your reply.I want to know which class & table method is using for inserting record in TaxWithholdTrans_IN.
Here total withholding tax amount field some amount difference is coming.
This is a bug but MS is not supporting for ax 2012. so i want to check the formula on it.
You can find out the answer by debugging the insert method of the table.
You can also use cross references (right click insert method in AOT -> Add-ins -> Find references to see all places in the application that call the method. Assuming you have up to date cross references in your dev system.
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 559 Most Valuable Professional
André Arnaud de Cal... 464 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader