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
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.
give it a try with recurring journals.
follow msdn.microsoft.com/.../hh169025(v=nav.71).aspx
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.
advanced solution:
edit cu 448 and change fct. CalcNextRunTimeForRecurringJob according to your special needs. There change the calc. formula for NewRunDateTime.
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Saurav.Dhyani 2 Super User 2025 Season 2
Alexander Ermakov 2
RK-25090803-0 1