Print two reports simultaneous (G/L Register and Receipt)

r-p
Member Posts: 33
Hello,
I'm trying to post and print in Financial Management - Receivables - Cash Receipt Journals.
I want to print simultaneous 2 reports: "G/L Register" and other report that i created (receipt).
Can someone help me?
Thanks.
I'm trying to post and print in Financial Management - Receivables - Cash Receipt Journals.
I want to print simultaneous 2 reports: "G/L Register" and other report that i created (receipt).
Can someone help me?
Thanks.
0
Comments
-
You need to modify CU 232 Gen. Jnl.-Post+Print to acheive this. Run debugger check the working of the code in this CU.CA Sandeep Singla
http://ssdynamics.co.in0 -
Unfortunately it's not like "sequence no." in "Report Selection" table, where you can define multiple report( i have try with 2) with sequence no. incremental.
You will have to customise it(would be only minor customization in CU 232) nearby below code.IF GenJnlTemplate."Posting Report ID" <> 0 THEN BEGIN GLReg.SETRECFILTER; REPORT.RUN(GenJnlTemplate."Posting Report ID",FALSE,FALSE,GLReg); END;
0 -
Hello, thanks for helping me.
I went to CU 232 and below, i insert the line (underlined), i'm not 100% if the code is correct.
Can you help me to build the code i need.
Summarizing: I'm trying to post and print in Financial Management - Receivables - Cash Receipt Journals.
I want to print simultaneous 2 reports: "G/L Register" and other report that i created (receipt).
I want the receipt to get de correct information that i registering in that moment (with the line i insert, i get more than 200 receipts).
IF GenJnlTemplate."Posting Report ID" <> 0 THEN BEGIN
GLReg.SETRECFILTER;
REPORT.RUN(GenJnlTemplate."Posting Report ID",FALSE,FALSE,GLReg);
REPORT.RUNMODAL(REPORT::"MY REPORT",FALSE,FALSE,"TABLE TO GET DATA - CustLedgEntry");0 -
Yes the code is wrong. You haven't fetched the Cust Ledger entry you are passing for running the report.CA Sandeep Singla
http://ssdynamics.co.in0 -
Problem solved i enter this code on the CU232:
CustLedgEntry.SETRANGE("Entry No.",GLReg."From Entry No.",GLReg."To Entry No.");
REPORT.RUNMODAL(REPORT::"My report",FALSE,FALSE,CustLedgEntry);
know when i post and print, i get the correct information on my receipt.0
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