In my last blogpost I wrote about how we can implement a Command Queue in AL. In the second part I will go a little bit in detail about the Solution. First of all you have to understand the differenences between valuetypes and referencetypes. If you already know you skip to the next paragraph.
Tag Archives: Queue
How to Implement a Command Queue in pure AL
In this article I show how to implement the command pattern (https://en.wikipedia.org/wiki/Command_pattern) and include it in a queue.
How to get failed job queues directly on your mail?
When I was working for the end customer, one of the daily jobs for one of the consultants, was to check if all job queues in all databases and all companies were not stopped by some error.
I thought, why cannot we get the notification whenever the Job Queue is stopped? That would save us a lot of time.
Queuing Background Tasks
I recently faced an interesting problem. The customer had production terminal at the end of a line, were the operator proceed the output. When he marked the production order as completed he clicked the button on the terminal and the request to post the output was sent to Business Central. For that I created the custom API. Nothing special.
Impossible to debug the Job Queue in NAV 2016?
I guess I am not the only one that has installed NAV 2016 running the Job Queue. If the Job Queue is running a job that causes error you are likely to start the debugger on the service tier running the Job Queue and start with a Debug Next.
Microsoft Dynamics NAV 2009 Classic Client – How to Set Up the Job Queue
I’m often asked to schedule processes in Microsoft Dynamics NAV. This blog explains how to do so in the Classic Client.
From MSDN:
Job Queues in Dynamics NAV enable you to specify, request, and control when certain processes are run, such as the processing of a report or executing a codeunit. You enter your requests for the execution of a report or a codeunit in the Job Queue Entries window.
Run a job monthly
Jobs can be run using job queues. in the job queue entry card you can set a codeunit or a report to run periodically. periods can: minutes to days. it is also possible to run a job once a week.