In Microsoft Dynamics NAV Classic, you can schedule jobs to run at specified intervals to process the mobile document queue or update the tables that Mobile Sales needs to synchronize the data on the mobile device with data in the Microsoft Dynamics NAV database. When you add a recurring job to the job queue, the codeunit or batch job executes automatically according to the specified schedule. For more information, see Job Queue Entry Card Window.
To schedule a job to process request documents
-
In the navigation pane, click the Administration button, click Application Setup, click Job Queue, and then click Job Queue Entries.
-
In the Job Queue Entry Card window, press F3 to create a new job.
-
On the General tab, fill in the following fields:
Field Value Object Type to Run
Codeunit
Object ID to Run
The ID of the codeunit, such as 8702 to run the Mobile Queue Processor codeunit.
Parameter String
Any parameters that you want to define to reduce the scope of the job. For example, a mobile user or a document type.
Maximum No. of Attempts to Run
The number of attempts to allow. For example, 2.
Expiration Date/Time
The last day on which the job runs.
Earliest Date/Time
The first day on which the job runs.
Priority
The priority of this job compared to other jobs in the job queue. For example, 1.
-
On the Recurrence tab, specify the recurrence of the job.
The job now runs according to the schedule that you have defined.
In Microsoft Dynamics NAV, you can also schedule batch jobs to update the tables that Mobile Sales needs to synchronize the data on the mobile device with data in the Microsoft Dynamics NAV database.
To schedule a job to run a batch job to update a Mobile Sales table
-
In the navigation pane, click the Administration button, click Application Setup, click Job Queue, and then click Job Queue Entries.
-
In the Job Queue Entry Card window, press F3 to create a new job.
-
On the General tab, fill in the following fields:
Field Value Object Type to Run
Report
Object ID to Run
The ID of the batch job, such as 8726 to run the Mobile Sync. To-do/Activity batch job, or 8725 to run the Mobile Create Customer Price batch job.
Parameter String
Any parameters that you want to define to reduce the scope of the job.
Maximum No. of Attempts to Run
The number of attempts to allow. For example, 2.
Expiration Date/Time
The last day on which the job runs.
Earliest Date/Time
The first day on which the job runs.
Priority
The priority of this job compared to other jobs in the job queue For example, 1.
-
On the Recurrence tab, specify the recurrence of the job.
The job now runs according to the schedule that you have defined.
See Also
Tasks
How to: Configure Application Server for Microsoft Dynamics NAV to Use the Mobile Queue ProcessorReference
Mobile Sync. To-do/Activity Batch JobMobile Create Customer Price Batch Job
Concepts
Managing the Interaction between Mobile Devices and Microsoft Dynamics NAV ClassicUsing Mobile Sales with Microsoft Dynamics NAV Classic