web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Adjust cost item entries" batch job in Microsoft Dynamics NAV 2009 Auto-Run Process

(0) ShareShare
ReportReport
Posted on by 70
I need to understand whether it would be possible to create a schedule auto-run process to enable COGS - Adjust cost item entries" batch job in Microsoft Dynamics NAV 2009. What is the requirements? Possible to create a scheduler to run or a script is require to perform this task? Anyone could help to advise? Thank you.

*This post is locked for comments

I have the same question (0)
  • RemcoVanDeVEn Profile Picture
    110 on at

    Hi,

    You can setup a NAS, if you haven't already done this. And place report 795 in the job queue.

    There needs to be a change in codeunit 5895, so it will not open the dialog box. So in the function OpenWindow in this codeunit, do an exit:

    IF NOT GUIALLOWED THEN

     EXIT;

  • christsam65 Profile Picture
    70 on at

    Hi! Remcov, Sorry..I do not see the logic of a NAS for this process since the batch jobs runs during the night where no users are using the system. Also, the job queue defines refers to MS SQL or Dynamics NAV?

  • Verified answer
    RemcoVanDeVEn Profile Picture
    110 on at

    Hi,

    NAS refers to the NAV Application Service. This is a service that runs and within NAV you can setup a job queue. WIthin the job queue you will define what needs to run and when. So you can handle the setup within NAV and the NAS will handle the processing of it. Be aware that the NAS is a service and therefore cannot handle windows. So therefore you need to make sure that the code is not opening any windows (like processing bars or confirmation popups).

    Information about job queue for NAV 2013 R2 (but this feature has been available in previous versions):

    msdn.microsoft.com/.../hh879427(v=nav.71).aspx

    Hope this is helpful. You can find a lot of information on MSDN or of course google, on how to setup a NAS and use the job queue (msdn.microsoft.com/.../aa496089.aspx).

  • christsam65 Profile Picture
    70 on at

    OK. Thank you. I shall read about it on-line. Bty, does this jod queue, service or scheduler requires to use up i user's license to run? I am a little confuse on this when someone told me this. Maybe you would know better. Cheers!

  • Suggested answer
    RemcoVanDeVEn Profile Picture
    110 on at

    Yes this will take up 1 user license per NAS..

    Depending on your license you also need to have the granule for the NAS and Job Queue. Your partner should be able to explain this in more detail to you. If your for instance have a Business Ready License then you have 1 NAS and the Job Queue automatically in your license. But if you have a Professional license then you need to purchase them seperately.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans