Report filters problem

Wojtekm
Member Posts: 123
Hello,
I need to choose in my report document number. I used ReqFilterFields property to show my filter fileds but i can only tape by hand document number. How can i get list of document from my source table.
My source table i G/L Entry .
Best regards,
Wojtekm
I need to choose in my report document number. I used ReqFilterFields property to show my filter fileds but i can only tape by hand document number. How can i get list of document from my source table.
My source table i G/L Entry .
Best regards,
Wojtekm
0
Comments
-
do you mean that you want the report request form to open with the document no. of the record you are on already populated?
if so, you could reverse engineer how a stock NAV report knows which document no. to use when you click the print button. when you see how nav does it normally, you can easily apply it to your scenario.
it could be code kinda like this:OnPush() LookupRecT.SETRANGE("Document No."); REPORT.RUN(reportID,TRUE,TRUE,LookupRecT);
where the lookuprecT is the table of the data you are working with. maybe this will get you started?kind of fell into this...0 -
I think about situation like in 206 Sales Invoice report. There you can choose which invoice you can print using lookup in report filters.
After push lookup buttom you can see list of invoices wich you can print (in No. filed)0 -
i don't know how you would do that. i tried creating a report on G/l entry using a key on document no. and i don't get an automatic look up either. i think it is because there is no table relation behind the document no. field on the g/l entry table. NAV has no idea what to look-up because the document nos. could come from nearly anywhere in the system.kind of fell into this...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
- 322 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