Feb 23

Get Session Information for all NST’s – PowerShell Version

Continuing on my previous post Get Session Count over multiple NST’s I decided to make a little PowerShell function of it.

Feb 21

Get Session Count over multiple NST’s

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.

Jun 09

Eventing OnAfterModify: Watch out when checking against xRec

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

May 18

Creating a .NET Assembly, the importance of versioning

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

Feb 17

Cumulative Update 4: MESSAGE function does not work as expected

At iFacto, we try to keep our product as up to date as possible. Which means that when there are some problems in the Cumulative Updates, we run into them fairly early. As such, I have found a situation where … Continue reading

Jan 25

Eventing: (Little) Update

In addition to my previous post “Eventing: an Overview” I’d like to add a few things I have forgotten in my list.

Jan 22

Eventing: an overview

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.

Oct 21

Reading from and writing to the Clipboard

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

Oct 07

Using Codeunits as Classes

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

Sep 07

Checking filters through record reference

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