Want to Print JV Document No on Posted Voucher
Stivan_dsouza21
Member Posts: 218
While creating JV (for g/l accounts only) they had wanted the refence of INVOICE No aginst which JV has been posted so
I added the Filed as Exp/Purchase Invoice Doc. No. in Table 81 and same was created in table 17 and flown in table 17
now wat they want is the from the invoice when they print posted voucher they want the JV no to get displayed on posted voucher.
I added the Filed as Exp/Purchase Invoice Doc. No. in Table 81 and same was created in table 17 and flown in table 17
now wat they want is the from the invoice when they print posted voucher they want the JV no to get displayed on posted voucher.
Thanks & Regards,
Stivan D'souza
Stivan D'souza
0
Comments
-
i have written the below code but in case of single JV passed against Invoice is showing correct but in case of multiple JV its printing one one Document No.
G/L Entry - OnAfterGetRecord()
recglentry.RESET;
recglentry.SETRANGE(recglentry."Exp/Purchase Invoice Doc. No.","G/L Entry"."Document No.");
IF recglentry.FINDFIRST THEN
REPEAT
"DocNo." := recglentry."Document No.";
UNTIL recglentry.NEXT = 0;
Can somebody help me....Thanks & Regards,
Stivan D'souza0 -
You need to add another dataitem "G/L Entry" indented under the original "G/L Entry". This will fetch and loop records and the same can be printed.CA Sandeep Singla
http://ssdynamics.co.in0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions