Modify Request Page to automatically select Job Number of the open Job

Paul_Stainton
Member Posts: 2
We are using NAV 2013 and I have been able to develop a new report and create a new Icon on the "Job Task Line" ribbon to launch the report. When I click on this icon on the "Job Task Line" ribbon, the "Request Page" will launch but it does not automatically insert the current Job Number of the Job that is actually open at the time.
Is there a simple way to achieve this please?
Is there a simple way to achieve this please?
0
Answers
-
Have a look at how standard NAV does it, e.g. Printing of an invoice from the posted invoice card. It's pretty straightforward.0
-
Thank you Kishorm,
I have already done this, checking the request page, CAL Code, etc and can find nothing that seems to indicate what the process is.
If this exists elsewhere can you please point me in the right direction
Thank you once again.0 -
you need to do this in the calling code - what you need to is...
1) create a record Variable for the table you want to filter on, ie the one in your report dataitem
2) set filter(s) on the record variable as required
3) if using REPORT.RUN or REPORT.RUNMODAL then pass the record variable as the 4th parameter
4) if you are using a report variable then instead of step 3 you need call the SETTABLEVIEW function on the report variable and pass it your record variable0 -
follow the Steps:
1. You need create a Record Variable
2. Use Setrange of the particular record with Varible Record
3. then find the record variable
4. REPORT.RUNMODAL("Report ID",TRUE,FALSE,"Record Variable")
5. Over0
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