Running Reports from OS command line

McLean
Member Posts: 32
We are using Cognos Portfolio to group various reports (from PowerPlay, Excel, HTML etc) together and provide the users with a single point of entry to information. We can run Navision reports and save the output as HTML but it would be very useful if the users could run the report entering the filter data. My idea is to run (somehow) Navision from the command line, possibly I would need to write a C program for this.
Any suggestions?
Any suggestions?
0
Comments
-
...
i would use the timer function and a report which test´s every time a existing file and starts an other report if it is true.
R. Mayer0 -
There a (too many?) things you cannot do with commandline switches or options. You can specify a database to run, but you cannot select a company on forehand, to name a limitation.
My guess in this would be to create an external file and read this out using a codeunit in Navision. In the file you put the data required to select the report and feed this with the required data to have it run properly. Depending on which report(s) you are talking about, this might be quite complicated. Perhaps using an alternative reportgenerator, or ODBC connection (or SQL connections when NF 2.5 is used) is a more elegant way to go.
John0 -
John is right about command line limitations. Having more command line options is on my wish list. However, Navision will select the last company opened so in theory, you could "select" the company by choosing different zup files.
Jim Hollcraft
aka Skater
drilldot.com
Unauthorized Navision NewsJim Hollcraft
aka Skater
drilldot.com
Unauthorized Navision News0
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