Job Queue cannot see report
gemini_shooter
Member Posts: 149
Hello All,
This might be something very trivial but I cannot see the reports that are run by Job Queue.
--So I have setup NAV 5.0 SP1 and SQL 2008 on my windows 7 machine.
--NAS is installed and running successfully and uses the Network Services Account. This account has full access as sysadmin in SQL and NAV.
-- windows account User1: This is what I use to login into NAV, also a sysadmin in SQL and superuser in nav
-- Setup job queue and have setup job queue Entries to run some reports:
-- Top Ten Customer
-- Customer Listing
These reports are running successfully as I can see the entries in Job Queue Log entries, but I have some questions:
1. Do I need to have atleast NAV session open for this to work?
2. Do I need to have the job queue Processes form open at all times for this to work?
3. I cannot see the reports that are being run, where are they going or are they being dumped somewhere else, I am confused with that part?
4. How can I run a report with a filter/option:
4a. For e.g. on the top ten customer report, there is checkbox to export to excel, how can I define that on the job in the parameter field?
4b. On the customer list report, I want run the report for only one posting group and sort by zip code, how can I define that in the parameter field?
Any help would be really appreciated....
This might be something very trivial but I cannot see the reports that are run by Job Queue.
--So I have setup NAV 5.0 SP1 and SQL 2008 on my windows 7 machine.
--NAS is installed and running successfully and uses the Network Services Account. This account has full access as sysadmin in SQL and NAV.
-- windows account User1: This is what I use to login into NAV, also a sysadmin in SQL and superuser in nav
-- Setup job queue and have setup job queue Entries to run some reports:
-- Top Ten Customer
-- Customer Listing
These reports are running successfully as I can see the entries in Job Queue Log entries, but I have some questions:
1. Do I need to have atleast NAV session open for this to work?
2. Do I need to have the job queue Processes form open at all times for this to work?
3. I cannot see the reports that are being run, where are they going or are they being dumped somewhere else, I am confused with that part?
4. How can I run a report with a filter/option:
4a. For e.g. on the top ten customer report, there is checkbox to export to excel, how can I define that on the job in the parameter field?
4b. On the customer list report, I want run the report for only one posting group and sort by zip code, how can I define that in the parameter field?
Any help would be really appreciated....
0
Comments
-
1. Do I need to have atleast NAV session open for this to work?
Shouldn't have to. That's the whole purpose of a NAS.
2. Do I need to have the job queue Processes form open at all times for this to work?
Shouldn't have any form open as NAS does not have a graphical interface
3. I cannot see the reports that are being run, where are they going or are they being dumped somewhere else, I am confused with that part?
Where are you expecting them to go? A printer?
4. How can I run a report with a filter/option:
4a. For e.g. on the top ten customer report, there is checkbox to export to excel, how can I define that on the job in the parameter field?
You have to write a function in the report to set your parameters like Export to Excel.
4b. On the customer list report, I want run the report for only one posting group and sort by zip code, how can I define that in the parameter field?
You need to look at the SETTABLEVIEW function for report variables.0 -
You should change the Network services account against a "real" AD user.
In the end the NAS is just a client without a GUI. When NAS runs a report then actually the specified user from the service runs it as if he had started a nornmal client. So to check where your prints are going log on to that machine with that user, start a client, start the report and see which printer comes up.
You will need to install the necessary printers under the used NAS user.
To answer your questions:
1. No
2. No
3. As described above
4. Several options: By default nothing exists. You could
- Create a report which runs your report and places the necessary filters/settings
- Create a more sophisticated system where you can set up which filters the reports should automatically use when run from the NAS (GUIALLOWED = No).Frank Dickschat
FD Consulting0 -
No, but how can I view the result of the report?.. I think I am confused with this concept, the report runs but where is the result stored or available for viewing to other users?3. I cannot see the reports that are being run, where are they going or are they being dumped somewhere else, I am confused with that part?
Where are you expecting them to go? A printer?
The report already has the checkbox... can I not set it true from the parameter field on the job queue card... if not then what is the best possible way to handle this?4. How can I run a report with a filter/option:
4a. For e.g. on the top ten customer report, there is checkbox to export to excel, how can I define that on the job in the parameter field?
You have to write a function in the report to set your parameters like Export to Excel.
hmmmm.... does that mean I have program a copy of the existing new report with the settableview... if not where how can I use the parameter field if possible on the job queue card4b. On the customer list report, I want run the report for only one posting group and sort by zip code, how can I define that in the parameter field?
You need to look at the SETTABLEVIEW function for report variables.0 -
Look at the NAS as if it is a simple NAV client. When you run a simple report it is being printed. The Network service account has no printers setup so this is not possible. If you want to change filters, to set flags (export to excel) or to store the output somewhere you need to create a covering report which does all that with your to-be-printed-report.
No, but how can I view the result of the report?.. I think I am confused with this concept, the report runs but where is the result stored or available for viewing to other users?3. I cannot see the reports that are being run, where are they going or are they being dumped somewhere else, I am confused with that part?
Where are you expecting them to go? A printer?
Either create a report which sets filters, flags and then runs your report or create a function in the report itself which does all that based on Not GUIALLOWED
The report already has the checkbox... can I not set it true from the parameter field on the job queue card... if not then what is the best possible way to handle this?
You have to write a function in the report to set your parameters like Export to Excel.4. How can I run a report with a filter/option:
4a. For e.g. on the top ten customer report, there is checkbox to export to excel, how can I define that on the job in the parameter field?Frank Dickschat
FD Consulting0 -
Thanks it works now. Changing the NAS account to a windows account did the job.
I see it is printing to the default printer. Is it possible to print to PDF automaticvally?
I tired like cute PDF write but it didn't work.. any suggestion for PDF printers that work
Thanks once again0 -
Please use the Printer Selections form to select the printer. You might want to specify the NAS user, so you do noch change selections for other users. Make sure though, the cute PDF printer driver is configured to save the report automatically. There is no one that can tell it where to save when it is run.0
-
I always used Ghostscript together with FreePDF. You might want to take a look at Bullzip though. It is free and fully programmable. Just search the forum for Bullzip or look here: http://mibuso.com/blogs/ara3n/2008/08/01/save-nav-reports-to-pdf/Frank Dickschat
FD Consulting0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

