Continuing on my previous post Get Session Count over multiple NST’s I decided to make a little PowerShell function of it.
Sometimes you need to see for different instances how many sessions are connected. You could achieve this with piping multiple PowerShell statements into each other, but not always.
Yesterday, I needed to put some code after modification of a record. So I decided to use the event for this. My code only needed to be updated if some field was updated. After coding my functionality, I went on … Continue reading
Everyone who has ever created a .NET DLL for his NAV project will probably have run into different kind of issues concerning versioning. Either unable to overwrite without stopping the Server Instance Not having the right assembly loaded Having to … Continue reading
In addition to my previous post “Eventing: an Overview” I’d like to add a few things I have forgotten in my list.
A few days ago we had a workshop in the company about events. Even during our internal overview, we found out some thing which weren’t very clear before. So I decided to try to list a bit about it here.
Have you ever tried putting something in the clipboard? Well, aside from literally copying or pasting? If you have ever tried something like this in .NET, you might remember, you need to call the functionality in a thread with STA … Continue reading
This time, I’ll present you with another way to use Codeunits in NAV. By using Codeunits as parameters to a function, you can use Codeunits as (sort of .NET) Classes. If you declare different local variables to the same Codeunit, … Continue reading
In some of the “tools” we create, we have a variable way of setting up records which need to be “processed” by our tool. For instance: The tool needs to run for sales orders which are released. For this, we … Continue reading