Irony is not being able to use dynamic variables in C# DLLs from Microsoft Dynamics NAV 2016… Continue reading “The new definition of irony”
Sometimes you need to get a DATE that is the first of the current month in Microsoft Dynamics NAV. This is not as trivial as it may sound, but the following command does it:
This date formula gets the current month (that’s always the last day of the month in NAV), adds a day (so we are on the first of the next month) and subtracts a month. Here you go.