I have added one text field in three table and one page
Gen.Journal Line,G/L Entry,and bank account Ledger Entry table and bank payment voucher page now in order to save data i enter from page to field in table Gen.Journal Line no need of any customization but how to flow that field data in other two table after click post on Home Tab of ribbon.
may be i have to make some changes in codeunit 231 of post action but i don't know exactly what changes
Thanks in advance.
0
Answers
I guess you need some NAV training first.
I would recommend to use "code coverage" and debugger to see where the code goes when you post something.
You need to go to CU12. You will find Initglentry function there. For the bank accounts the same, try to search BankAccLedgEntry.INIT into PostBankAcc().
I hope this helps.
Please note there are many functions for applying, unapplying (applycustledg... unapplycustled..)... and if the user rollsback something you need to take that in account, change the code in there also.
Also what is code coverage
Debugging:
https://docs.microsoft.com/en-us/dynamics-nav/debugging
https://docs.microsoft.com/en-us/dynamics-nav/walkthrough--debugging-the-microsoft-dynamics-nav-windows-client
Code Coverage:
https://dynamicsuser.net/nav/b/amol/posts/code-coverage--nav-2016
Arhontis
https://forum.mibuso.com/search