Skip to main content

JOBQUEUE - Test Job

Hi all,

During our previous post we read about installation and configuration of NAS.

Let's try to use this to automate a task.

For this Demo I consider the below scenario.

A report will run automatically in Every 1 Minute and will perform below transaction.

Insert a record in NAS TEST Table (50000) with Current Date, Current Time and a Entry number.

For Demo i have created NAS Test Table as shown below.



I have also created a Report which will Run Via NAS and Enter Data into this table.


Let's automate this report to run after 1 Minute via Job Queue.

As Already discussed check the necessary setup and service.

Then From Administration -> Application Setup -> Job Queue, Select Job Queue Entries.

Create a New Job Queue Entry as shown below.



After Setup Reset the status.



After 1 Minute you will find the entries are being added to tables automatically as shown below.



You can also check the status of Job Queue in Job Queue Log Entries.



In Next post we will try to automate the jobs that we have created for sending mails.

You can find objects created for this article on my SKYDRIVE.

File Name - NAS TEST.rar

Regards,
Saurav Dhyani
www.sauravdhyani.com

Comments

Popular posts from this blog

VIEW SERVER STATE permission on SQL Server?

Hi all, Sometime While trying to Login into a database we face an error message as shown below. --------------------------- Microsoft Dynamics NAV Classic --------------------------- You cannot start Microsoft Dynamics NAV Classic because you do not have the VIEW SERVER STATE permission on SQL Server. Contact your system administrator. --------------------------- OK    ---------------------------

BC 21 and Higher - PowerShell Cmdlet (Replacement of Business Central Administration).

Hi Readers, As discussed in last article about deprecating of Business Central Administration, there are few common actions that we use in administration till Business Central 20. For our on-prem customers, we will still require doing activities. As Microsoft suggest we need to start using PowerShell cmdlet.    Let's see how to do those via PowerShell, or Administration Shell. I will be keep adding commands as you comment to this article.

Send Mail with Attachment From Navision.

Hi all, We have seen how to save a report into PDF and how to send mail to a customer. Let's link these two post in one i.e. Mailing statement to a customer into PDF Format. This article is part of the Series. Please Refer  Table of Content here . If you have the old objects set let me brief you what I will be changing -