When you extend Microsoft Dynamics NAV with a mobile application such as Mobile Sales, you must set an Application Server instance to process incoming request documents from the mobile devices. You can use wither the mobile document dispatcher or the mobile queue processor. This topic describes the mobile queue processor. For more information about the mobile document dispatcher, see How to: Configure Application Server for Microsoft Dynamics NAV to Use the Mobile Document Dispatcher.

NoteNote

This Application Server instance is not necessary if your request documents are all set for direct processing from the mobile document queue.

In Microsoft Dynamics NAV, you can set up request documents for either direct processing or queued processing. With direct processing, request documents process to the Microsoft Dynamics NAV database immediately upon entering the mobile document queue. With queued processing, request documents remain in the queue until they are processed manually or by a scheduled job. The following figure illustrates queued processing in Microsoft Dynamics NAV.

Application Server processes mobile requests
NoteNote

Before you continue, you must have created a user account for Application Server. You can, for example, create a user account in your Windows domain or locally on a computer and set the Application Server service to run as this account.

To configure Application Server to use the mobile queue processor

  1. Create a Windows user account for Application Server.

    For example, create an Active Directory account in your Windows domain or a local account on a computer, and then set the Application Server service to run as this account.

  2. In Microsoft Dynamics NAV, create a Windows login for the user account, and assign the following roles to the Application Server login:

    • ALL

      This standard role grants access to fundamental tables and functions.

    • MOB-SERVER-NAS

      Mobile security role for Application Server.

    • JOBQUEUERUN

      This standard role enables users to execute jobs in the job queue.

    • The appropriate roles for each job in the job queue.

  3. In Application Server Manager, set the Application Server instance to run with the startup parameter JOBQUEUE.

  4. Optionally, in Microsoft Dynamics NAV, set up jobs that process the request documents from the queue.

Security

To make the implementation more secure, you can set up an Application Server for each Microsoft Dynamics NAV role that must submit documents from mobile devices, so that Application Server only has the access that the role defines. For example, if you assign a role, such as S&R-Q/O/I/R/C, to a group of mobile users, you can create an Application Server instance and assign this instance the S&R-Q/O/I/R/C role.

In the configuration of the Microsoft Dynamics Mobile - Server Components document service, you must then define endpoints that are specific for each of the relevant roles. These endpoints must point to the correct Application Server instance. For more information, see Microsoft Dynamics Mobile Installation and Configuration Guide online.

See Also