Change Company code

myousuf
Member Posts: 3
Hi,
I am looking for some assistance on how to change company within Navision. Can I change the company on the fly and perform transaction in the other company.
I am not interested in intercompany, rather than changing the whole company and then perform transaction related to that company only.
Thanks
MY
I am looking for some assistance on how to change company within Navision. Can I change the company on the fly and perform transaction in the other company.
I am not interested in intercompany, rather than changing the whole company and then perform transaction related to that company only.
Thanks
MY
0
Comments
-
You can access the "Company open" dialog with the shortcut [Ctrl]+[O].
That is the easiest and fastest way to change the company within the same database.Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
Can you give me some example on how to pass the code..0
-
Timo Lässer wrote:You can access the "Company open" dialog with the shortcut [Ctrl]+[O].
That is the easiest and fastest way to change the company within the same database.
pass the code? just hit Ctrl-O
is that not what you need or do you want to create a button?0 -
You cannot open another company via C/AL Code.
I think, [Ctrl]+[O] is fast and easy enough.
If the users cannot remember this shortcut, you can place a label with this hint in the main menu until they remember it.Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
I thought you were talking about posting transactions to a diffrent company, while still in another one, right? if so, take a look at the CHANGECOMPANY function. That works pr. Table, so you would need to change company for each table that gets new records inserted. Table.CHANGECOMPANY(Company.Name);Elmar F. Vidisson
Certified Navision Attain Developer0 -
You cannot have a process log into another company through Navision code while a user is in another company. The only thing available is the CHANGECOMPANY method on record type variables, but I would strongly advise against using that method to try to make this work for posting any type of regular transaction.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