Navision Command Line

hereami
Member Posts: 20
Hi All,
I have a question...
Is it possible to run Navision with command line parameters to open a specified Database and Company WITH a specified User ID and PASSWORD.
I don't mind of security issues related with this approach...
I would like to make a BIG batch file to start Navision sequentially three times with three different User ID and Password.
PLEASE HELP ME!!!
Bye
HAI
I have a question...
Is it possible to run Navision with command line parameters to open a specified Database and Company WITH a specified User ID and PASSWORD.
I don't mind of security issues related with this approach...
I would like to make a BIG batch file to start Navision sequentially three times with three different User ID and Password.
PLEASE HELP ME!!!
Bye
HAI
0
Comments
-
I have two possibilities how you could find a way that works:
1. Select a Form within Navision and press File->Send->Shortcut to desktop. A link on your desktop will appear. Analyze it.
2. Use cfront.ocx. With a programming language like Borland Delphi, C++, C#, Basic,..... you could create a reference to the cfront.ocx and start the application.0 -
you can use Automate Task Builder. you can download a trial version of Automate from website http://www.automate5.nl0
-
A Desktop shortcut can contain a connection string
"C:\Program Files\Navision Attain\Client37\finsql.exe" ntauthentication=yes, servername=AKLSWS100, database=MYDEV, company=MYDEV
this will open MY instance of finsql (note the quotes around this - without quotes DOS will try to run C:\Program with parameter of Files\...)
You will need to change this to point to YOUR version of Navision
Anyway change the servername, database, company param to suit your needs.
I assume you are not going to use ntauthentication (or else you would need to log out of Windows for each test).
I will test this without ntauth - more to follow..0 -
does anyone have the 'Installation & system management' manual - there is a section about these command line switches (according to an error message I get when I try stuff)0
-
The ISM manual is on the product CD and I am sure there is a breakdown of the switch's and what they do.
Ian0 -
found it - thanks (really bad naming convention...)
does not shed much light - I will continue later.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