Hi Masters,
I have a problem to find the class and its method that used to write data into VendTrans table when posting vendor invoice.
Especially, i need to fine the line that assign data to be inserted in VendTrans.Txt. Any help would be appreciated, thank you :)
*This post is locked for comments
Hi Nikolaos,
I don't need more. I found the solution using the default description (Purchase order - invoice, ledger).
Thanks :)
Hi Rafael,
did you read the messages above? If yes, I don't understand what is unclear. Could you let us know what question / problem you have?
Hi Willy,
How did you do it?
Thanks!
Hi Willy,
I'm glad to help you.Thanks.
Hello Andre, yes you're right about that. Recently my team told me how to do it :) Thank you for your reply
Hello Wang, thank you for your reply. You pointed it directly to the line. Thank you for the clean answer :)
Hey Guru, thank you for your reply. It's very helpful :)
Hi Willy,
You can see it in Class CustVendVoucher ,post() method.
The vaule of VendTrans.Txt was given in the line 2538.
You can see logic of transTxtfindDefaultTextForPayment.
Hi Willy,
If you have the cross references updated, you can find which methods are using the table and/or are using the insert method.
You can also use the trace parser or debugger.
Hi Willy,
Common map 'CustVendTrans' will be used for both custTrans and VendTrans data to fill up during posting. 'Post' method in 'CustVendVoucher' class is used to assign text. Please find the below screen shot. I have checked this in D365 during AP invoice journal posting, might be same in 2012 also.
Hope this might help you!
Regards
Guru
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156