diff controls on form opened from diff menu

sri.tech23
Member Posts: 41
can we have diff controls on a form if it is opened from 2 diff menus. eg if a form is opened from menu 1 then the no field on it is editable and if it opened from menu 2 then the same field is un editable
0
Comments
-
Do you mean if the form is called from the Menu Panel on the lleft side or when the form is called from a Menu Button?Do you make it right, it works too!0
-
I mean from the panels on the side. for eg...the customer form opened from Sales & Marketing menu should hav diff controls from the customer form opened from the Financial management menu0
-
In the old ( 3.70 and earlier ) menu that would be easy, because you had the ability to write code on menuoptions. If you want to do the same now, you'd have to write a codeunit per menuoption, where in the OnRun trigger, you pass a parameter to the form ( so it can set fields accordingly ) when you open it.0
-
can u please elaborate with an eg....0
-
sri.tech23 wrote:I mean from the panels on the side. for eg...the customer form opened from Sales & Marketing menu should hav diff controls from the customer form opened from the Financial management menu
If the no. of forms/object not too high you can create different form altogether with the desired settings...
for example create a new form (copying the customer card) "Customer card for Finance" change the setting and call it from the Financial Mgmt.Thanks,
Ritesh K Singh0
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