adding field in page and table?

mdsr
Member Posts: 163
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.
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
-
Hi,
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.0 -
Here are a few links of relative information:
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
1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions