Updates to my Object Renumbering Tool

Back in the end of 2014 I published a renumbering tool for NAV objects.  Using DotNet I was able to increase the renumbering speed for text object files dramatically. Since then I have been asked if I could upgrade it to work with IDs and...
Continue reading »

Inspired by a Microsoft Developer

Yes it happens. When reading the C/AL code in NAV written by other developers you normally pick up smart way to do things.  Yesterday I got one. In my solutions I have been using a function to check if a string is numeric and another...
Continue reading »

Potential hole in handling default dimension

Since NAV 2013 we have been using Dimension Set instead of the Dimension Entry tables.  One of the function that was changed was GetDefaultDimID in Codeunit 408. In NAV 2009 and older this would return a set of dimension for any of the dimension entry...
Continue reading »

Run a Table in NAV

One of the things we developers and consultants miss the most from the “Classic Times” is the ability to run a table to edit the data. Sure we can run a table from the Developement Environment but we are not always working with direct access to...
Continue reading »

User friendly error messages in NAV

One of the most challenging thing when programming is to have proper error handling. This is one of the weakness of the standard NAV code. We are now seeing this change when Microsoft introduced the simplified NAV. An example of this can be found in...
Continue reading »

Selection Filter to Clipboard

I have now seen three posts about using Excel to help create a Pipe Filter.  The latest one from Mohana is similar to the way I normally do this.  His post is a followup from the original video from Kerry Rosvold and an alternative from...
Continue reading »

Insert network printers automatically

In my current upgrade project I need to upgrade a solution I did for Classic NAV where I used the “‘Windows Script Host Object Model’.WshNetwork” Automation object to add a network printer automatically. I looked a round and did not find any dotnet object capable...
Continue reading »

Browse for folder dialog

I have in several cases needed to allow a user to select a folder.  I was surprised to see that Microsoft did not have a browse for folder function in Codeunit 419. I hereby suggest that Microsoft add this function to Codeunit 419. [code] PROCEDURE...
Continue reading »

Please add block possibility to Permission table

Yesterday I suggested to Microsoft an enhancement to the permission functionality.  That was an informal suggestion so I logged into Microsoft Connect and added a formal suggestion. In table 2000000005 Permission we can assign permission to objects.  In the Classic Client we had the possibility to...
Continue reading »

A Table Hook to minimize the upgrade work

In a line with the methods introduced by Partner Ready Software I am now upgrading old code to NAV 2013 R2 with the goal to modify the standard objects a little as possible. I don’t recall Mark, Waldo, Gary or Vjeko speaking about a Table Hook but...
Continue reading »