Dynamic Request Page for reports?

jversusj
Member Posts: 489
We are in the midst of an upgrade from 3.7B to NAV2013. I have some processing reports to upgrade that make use of dynamic request forms in 3.7B. Basically, the old request form would have business logic that controlled whether certain Controls were editable or not.
Example: If you check "Update Location Code" as true, a separate Control linked to the location table would become editable.
Is this still possible with request pages? All I can find in the symbol menu is a general request page editable property. It does not seem to exist at the Control level.
I thought it might be easily analogous to 3.7B, but the below does not compile.
Example: If you check "Update Location Code" as true, a separate Control linked to the location table would become editable.
Is this still possible with request pages? All I can find in the symbol menu is a general request page editable property. It does not seem to exist at the Control level.
I thought it might be easily analogous to 3.7B, but the below does not compile.
IF NOT bUpdateLocation THEN BEGIN CLEAR(sUpdateLocation); RequestOptionsPage.NewLocation.EDITABLE(FALSE); END ELSE RequestOptionsPage.NewLocation.EDITABLE(TRUE);
kind of fell into this...
0
Answers
-
Hi,
create new variable, called "ShowNewLocation" as boolean in Globals. Press Shift+F4 to get to properties and make "IncludeinDataset" as Yes.
Then open that field property on request page and for Editable page change "Yes" to "ShowNewLocation". Now when you will change value of ShowNewLocation, your field will become editable/uneditable dynamically.
Link to MSDN what can be controlled this way: MSDN
Hope that helps.
Igor Pchelnikov1 -
Igor Pchelnikov wrote:Hi,
create new variable, called "ShowNewLocation" as boolean in Globals. Press Shift+F4 to get to properties and make "IncludeinDataset" as Yes.
Then open that field property on request page and for Editable page change "Yes" to "ShowNewLocation". Now when you will change value of ShowNewLocation, your field will become editable/uneditable dynamically.
Link to MSDN what can be controlled this way: MSDN
Hope that helps.
Igor Pchelnikovkind 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
- 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