NAS job queue report

foo_bar
Member Posts: 91
Hello,
I have a report that is triggered to run by a job queue entry.
This report does posting of some specific sales orders every day.
When I schedule this job queue entry with a job queue that is not started by NAS, the report posts the orders succesfully.
If I schedule this job queue entry with a NAS job queue, then the report runs, but no sales orders are posted.
NAS startup codeunit = 450
NAS startup arguments = JOBQUEUE
I've tried all combinations with 'start on this NAS instance/computer'..
Am I missing something?
Kind regards,
Foo
I have a report that is triggered to run by a job queue entry.
This report does posting of some specific sales orders every day.
When I schedule this job queue entry with a job queue that is not started by NAS, the report posts the orders succesfully.
If I schedule this job queue entry with a NAS job queue, then the report runs, but no sales orders are posted.
NAS startup codeunit = 450
NAS startup arguments = JOBQUEUE
I've tried all combinations with 'start on this NAS instance/computer'..
Am I missing something?
Kind regards,
Foo
0
Best Answer
-
thx for your help and time guys, I've figured out the problem. Had nothing to do with job queue settings, but with request properties..0
Answers
-
Do not type any thing in the NAS startup arguments as job queue will still works.
Are you sure that you job is running by NAS service? Please verify from the Job Queue Log Entry page and please also post its screenshot.Best Regards:
Zaid Tariq
Dynamics NAV/365 BC Developer at Dynamics 360
please like / agree / verify my answer, if was helpful.0 -
Hi @foo_bar ,
Are you following these steps? I guess you have missed Startup Method. Below are the steps make sure you are following these:
Configuring NAS to use Job Queue
1) On the Server machine, start the Dynamics NAV Administration Console
2) Select the server instance and click the Edit button
3) Go to the NAS Services fast-tab
4) Set the Startup Codeunit field value to 450
Alternatively you can change the setup of step 5 to:
- Set the Startup Codeunit field value to 1
- Set the Startup Method field value to NASHandler
- Set the Startup Argument field value to JOBQUEUE
- Click Save
Remember to Configuring the Job Queue to use the NAS
Go to Job Queues list page
- In the NAS Settings fast-tab, set Start Automatically From NAS field value to TRUE
- Click the OK button to close the card
- Starting NAS
Select the server instance in the Dynamics NAV Administration Console
- Click Restart from the Action pane
Wait a few seconds to observe the Status field change to Running
================
Also, make sure that in the Sales & Receivables Setup you have following fields enabled:
please like / agree / verify my answer, if it was helpful for you. thanks.Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.2 -
thx for your help and time guys, I've figured out the problem. Had nothing to do with job queue settings, but with request properties..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
- 322 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