Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

How to run job queue monthly once?

Posted on by Microsoft Employee

Hi All,

i need to run a job queue at the month end how to achieve this?

regards,

Ramesh.

*This post is locked for comments

  • Syed Aley Mehdi Profile Picture
    Syed Aley Mehdi 60 on at
    RE: How to run job queue monthly once?

    Hi Ramesh,

    I think what you are looking for lies inside the process knowledge of Job Queue. For this you need important basic understanding of Job Queue. Read the following article to get answers to all your questions : www.navstorm.com/.../how-to-setup-job-queue-microsoft-dynamics-nav-2013-r2.html

    Regards,

    Syed Aley Mehdi

  • Verified answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: How to run job queue monthly once?

    hi,

    simple solution:

    goto page "job queue entry card" and set "no. of minutes between runs" to a value like 43200 (= 60 * 24 * 30). that is the minute value for an average month.

    cu_2D00_448_2D00_nextjobrun.png

    advanced solution:

    edit cu 448 and change fct. CalcNextRunTimeForRecurringJob according to your special needs. There change the calc. formula for NewRunDateTime.

    cu_2D00_448_2D00_nextjobrun.png

  • keoma Profile Picture
    keoma 32,675 on at
    RE: How to run job queue monthly once?

    give it a try with recurring journals.

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

  • keoma Profile Picture
    keoma 32,675 on at
    RE: How to run job queue monthly once?

    set up the job queue and a job queue entry as you need using a new codeunit.

    develop the new codeunit as you need.

    check in the first line of the onrun trigger if the current day is the last day of the month, if not 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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans