migrating code from form 330 (v370) to navigation pane (v4)

hsilveira
Member Posts: 23
Hi all,
I'm making an upgrade from 370 to 4SP3.
In the old version, they have code developed that calls a function which receives a parameter that depends of the button that users click. For example when user clicks in sales & rec they call functionX(1), when they click in Purch & Pay they call funtionX(2).
In this new version this is not possible unless we made the changes in all forms that we have in all modules (Sales, Purch and so on). ](*,) This is not a great idea... :shock:
Someone has some ideia that can help me to resolve this issue?
Thanks.
Best regards
I'm making an upgrade from 370 to 4SP3.
In the old version, they have code developed that calls a function which receives a parameter that depends of the button that users click. For example when user clicks in sales & rec they call functionX(1), when they click in Purch & Pay they call funtionX(2).
In this new version this is not possible unless we made the changes in all forms that we have in all modules (Sales, Purch and so on). ](*,) This is not a great idea... :shock:
Someone has some ideia that can help me to resolve this issue?
Thanks.
Best regards
XMAN
0
Comments
-
create a codeunit that calls the form. Add a link to open the codeunit.0
-
To do add such functionality when the user click in a menu group you can’t. The other way around it’s to force the user to click in codeunit that ara3n told you.
To add such functionality in every form you won’t have the same goal. In NAV 4 you can have for example the same form in Sales and Marketing Warehouse.0 -
You can use Navision shortcuts if you want to specify filters for forms or reports. This is unluckely impossible in "normal" menus, only in Shortcuts.
It is also impossible to add values for variables (to have for instance a box ticked in Options page in a Report).My candle burns by both ends, it will not last the night,
But oh my foes and oh my friends, it gives a lovely light0 -
hi
I know 2 way:
1. Standard - to create a lot codeunits
2. Economic - run this forms via url (some description http://dynamicsuser.net/forums/p/12771/61728.aspx#61728)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