C/AL code in Navision 4 menusuite?

wester
Member Posts: 33
I've just begun experimenting with Navision 4.0, but I cannot determine how I can write code in the menu-triggers? I used to do this quite often in the older Navision versions to determine which form to open in certain cases.
Anyone knows if this possibility is removed in Navision 4.0? Are there any other ways to do this in Navision 4.0?
Anyone knows if this possibility is removed in Navision 4.0? Are there any other ways to do this in Navision 4.0?

0
Comments
-
You cannot run any code. Take a look at how the OnOpenForm trigger of most journal forms was changed compared to older versions. A work-around may be to create a codeunit which contains you code, but that has the disavantage of displaying the wrong icon in the navigation pane (i.e. a codeunit icon instead of a form icon).Kind regards,
Jan Hoek
Product Developer
Mprise Products B.V.0 -
Ok, I've done it with a codeunit which works fine, but I don't like this work-around way of operating a simple thing, which always have been possible in former versions.
I wonder what the reason is? Eventhough the mainmenu are no longer based on forms, there might be a sober way of solving this in the MenuSuite designer. Come on MBS... You can do it! =D>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