Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

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

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

  • Suggested answer
    RemcoVanDeVEn Profile Picture
    RemcoVanDeVEn 110 on at
    RE: Adjust cost item entries" batch job in Microsoft Dynamics NAV 2009 Auto-Run Process

    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.

  • christsam65 Profile Picture
    christsam65 70 on at
    RE: Adjust cost item entries" batch job in Microsoft Dynamics NAV 2009 Auto-Run Process

    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!

  • Verified answer
    RemcoVanDeVEn Profile Picture
    RemcoVanDeVEn 110 on at
    RE: Adjust cost item entries" batch job in Microsoft Dynamics NAV 2009 Auto-Run Process

    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
    christsam65 70 on at
    RE: Adjust cost item entries" batch job in Microsoft Dynamics NAV 2009 Auto-Run Process

    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?

  • RemcoVanDeVEn Profile Picture
    RemcoVanDeVEn 110 on at
    RE: Adjust cost item entries" batch job in Microsoft Dynamics NAV 2009 Auto-Run Process

    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;

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans