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
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
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.
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.
Hi Rahul,
You can check CustVoucher\createInvoiceTrans method. The TaxWithholdTrans_IN record is getting updated here. You can include your field here as well.
- 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?
I tried it but debugger is not hit in table insert method.
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,235 Most Valuable Professional
nmaenpaa 101,156