Report and request form parameters/variables

andy76
Member Posts: 616
Hello,
I want to call a report (ex. STD 99001025 - Refresh Production Order) without calling a request form because it is a great processing we have created after ERP standard.
I want to set some properties/flag/variables of the request form fix without user input. Is that possible and why?
Or should I duplicate the report, creating a new one and setting the properties as I need?
Thank you.
I want to call a report (ex. STD 99001025 - Refresh Production Order) without calling a request form because it is a great processing we have created after ERP standard.
I want to set some properties/flag/variables of the request form fix without user input. Is that possible and why?
Or should I duplicate the report, creating a new one and setting the properties as I need?
Thank you.
0
Comments
-
OnPreReport Trigger you can define the Variables.
example/
"Posting Date" := WORKDATE;
MyBoolean := TRUE;
etc
etc.
That way no user needs to enter anything, especially if it's always the same. Also set UseReqForm property to NO;
If it's just SOMEI want to set some properties0 -
Just add one function with parameters into the report, which will set the variables inside the report (like Direction etc.). Than you can use the report as variable of type report in your code, call the function to set the parameter, set the record filter through SETTABLEVIEW, set USEREQUESTFORM to false and run the report.0
-
Thank you very much.
It works0
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