Saturday, January 2, 2016

How to setup NAS (Navision Application Server) for Microsoft Dynamics NAV 2013 R2?


I am sure that whenever you had heard the word NAS, nightmares would have been ran through your mind. You must have assumed that it would be a very difficult thing to learn. Atleast, I have thought like this when I heard the word for the first time. 

If you think like me then here are really easy steps to configure NAS and i am sure after going through this article you will enjoy configuring NAS in Microsoft Dynamics NAV 2013 R2.

Prerequisites : LS Modified Navision Base DB, LS Retail Toolbox 7.1


Follow the below steps pointwise:
  • Open Microsoft Dynamics NAV 2013 R2 Administration.
  • Open the Instance in which you want to configure NAS.


NAS Setting Microsoft Dynamics 2013 R2 Administration


  • In General tab, 2 Fields are mandatory
    • Service Default Company (Your Company name).
    • Service Default Time Zone : It should be Server Time Zone.
  • In NAS Services tab, 3 fields are mandatory.
    • Startup Codeunit : 99001468
    • Startup Method : LSRSCHEDULER
    • Startup Argument : NASID,TYPEFILTER=HOSP,LOG=1,REPEAT=1



Note : The TYPEFILTER=HOSP can be changed according to you ‘Scheduler Job Type Code’ as you can find it in below snapshot.

Scheduler Job configuration NAS Microsoft Dynamics NAV 2013

  • After doing the settings above, restart the service.
Restart Service Microsoft Dynamics NAV 2013 R2 Administration


  • Open the Scheduler Setup page and do the following setup as shown in below snapshot.
Scheduler Setup Page enable NAS Scheduler NAV 2013 R2




  • Perform the following Setup in Scheduler Setup
    •  Enable NAS Scheduler should be checked to yes.
    • Scheduler sleep sec. can be set as requirement by default it is 10 sec.

  • Go to job and on the Schedule Detail tab and fill the following fields.
    • Time Units
    • Time between Check
    • Next Check Date.
    • Next Check Time.
    • Starting Time and Ending Time (Not Mandatory).
    • Valid on Sunday to Saturday. 

Schedule Details in Scduler Job configure NAS NAV 2013 R2

  • Now the NAS Services will be enabled, check the Scheduler Log of the particular Scheduler Job.


Check Scheduler Log of Scheduler Job in NAV 2013 R2


Note : Restart the service and monitor the Scheduler Log for job to ensure that the job is auto starting or not in case of system restart or power failure. 


Please post the comment below if you have any queries regarding the Configuring of NAS. Also, Follow us Facebook and Twitter to keep updated with more tutorials.

5 comments:

  1. I don't see the pages "Scheduler Job" or "Schedule Setup" or Codeunit "99001468" anywhere in NAV 2013 R2.

    ReplyDelete
    Replies
    1. Hi Pavithra,

      These objects that you have mentioned is a part of LS Retail Toolbox 7.1 specific for Microsoft Dynamics NAV 2013 R2. You have to install the toolbox first in order to access it.

      Delete
  2. Hello, is this article valid for LS Retail NAV 2016 ?

    ReplyDelete
    Replies
    1. Yes, it is valid for LS Retail 2016 as well.

      Delete
  3. Hi sir, I have see after all configuration done, but job not run schedule based why ??

    ReplyDelete