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
0
Answers
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.
Zaid Tariq
Dynamics NAV/365 BC Developer at Dynamics 360
please like / agree / verify my answer, if was helpful.
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.
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.