Oct 31

Back in January 2011 i wrote about the NAV Launcher, a project based on the Navision Starter v1.2 orignally created by Sergey Gazizyanov back in 2006. Well, i realized that i never put a download link on the site.

Attached in this post is the installer for the .NET project. It requires, as far as i remember .NET framework version 2.

Continue reading »

Tagged with:
May 09

You know the hoops you have to jump before you got Visual Studio setup for creating a RTC add-in. Well look no further Christian Abeln published a couple of great templates to use in Visual Studio, that will help you create your add-ins much faster and easier.

Actually he already published tempates back in 2009, as you can find on this link: http://blogs.msdn.com/b/cabeln/archive/2009/11/16/resources-to-my-add-in-sessions-at-directions-09-in-austin-tx.aspx.

His new updated templates that VS extensions can be downloaded here:

Continue reading »

Tagged with:
Jan 25

In my search for some information about getting Item Tracking via ADCS to work with MRP/MPS in Dynamics NAV i noticed, that when i searched for specific terms of functions in NAV objects a website kept popping up in the Google search results.

For some reason i had not really seen it before, must have missed a blog post about it :). It is basically a web based object model of Dynamics NAV. I know you can use other tools like Developers Toolkit to provide the same functionality, but having it online and available without any setups is pretty cool.

Continue reading »

Tagged with:
Jan 20

This morning i was reading the blog post from Arend-Jan Kaufmann regarding opening Classic databases with the correct executable version. You can see his blog post here:

Suggestion for Available Databases Form in Dynamics NAV

It reminded me of a tool i basically use on a daily basis, as well as many other people in my company. It is an extended version of the Navision Starter v1.2 orignally created by Sergey Gazizyanov back in 2006. I have added support for the latest version, as well as shell integration for native databases (*.fdb), so you just double click on the FDB file.

The launcher will determine the database version from both SQL and native databases, and choose the right client executable to open the database with. It also can do automated login with database login, by using a default password like sa/sa.

See here for a quick overview…
Continue reading »

Tagged with:
Oct 27

Since the days of Visual Basic 6, where we were creating OCX (Custom Controls) for Navision, and up till now with COM Interop with .NET programming language, the .NET platform has become a great development platform. But because of the limitations of interoperability in NAV we haven’t been able to use true .NET assemblies directly within NAV.

Until now! R2 as you know has announced its arrival in next month (hopefully), and with it the introduction of .NET interop.

The Microsoft Dynamics NAV Team Blog has a great post on this subject, as well as real examples of how to use it. Check it out, this will rock your world!

Continue reading »

Tagged with:
Oct 21

Using the built-in string functions in Dynamics NAV usually gives you all the string manipulation options you need. But a common request is replacing a special char with a new string value. This example came from the previous post on SMTP Mail functionality in Pre Dynamics NAV 5 versions. Mads from Denmark, ran into an issue with HTML encoding when using national chars like: æøåÆØÅ. For some reason the HTML emails worked fine at my local computer, here with US locale settings, but changing the values to their HTML encoded equivalent might be a good idea to get better compatability.

Below you will find the simple function for doing this.

Continue reading »

Tagged with:
Oct 06

Yesterdays post on assigning MenuSuite Menu’s programatically got a lot of hits, and i have been getting a couple of emails about how to create the data for the blob field. In this post I will show how to build the BLOB generator i Dynamics NAV.

The BLOB content is reverse engineered on Mayank’s Extreme Engineering blog.

Continue reading »

Tagged with:
Oct 05

The other day i was reading Mayank’s new blog Extreme Engineering Network. Especially his post about assigning menu suites automatically was pretty neat. Well it could be, as it basically just gave you the information on _how_ you could do it. Looking at a lot of hex-editor information, i decided to give it a spin!

Assigning Menu Suites to users is a painful job for any adminstrator, as you have to go into design of the menu suite, and then for each Menu you have to uncheck the box for users that should not have access. And setting up a new user, gives access to everything by default, so you have to go into each menu to unassign – lots of work!

Continue reading »

Tagged with:
Oct 02

After switching blogging software, due to a server crash i never really got the old posts reposted from the original blog. I have had a lot of requests for one particular post: Dynamics NAV and the ROT table. I started finding the old backup of the database, to restore the post and realized it is almost 3 years old. Cant believe how fast times goes by. But after reading the very interesting post from Waldo about their new tool ReVision i came to think of this old post. (unfortunately i will not be at Directions in San Diego myself, even though i just live a couple of hours from there! But i hope to get some updates from people seeing the tool demonstrated!).

Basically what the post was about was the features of Rolling Object Table, a feature that allows Windows programs to publish “interfaces” to some of it internal features – i dont know it this is the correct description of it though :). Dynamics NAV is exposing some methods to read/write objects through the client, as well as querying forms and getting other data from the client. Since my original post, there has been quite a few additional blogs featuring the technology. We (see kudos section at the bottom) were playing around with the .NET Reflector tool, and used it on one of Celenia Version Controls dll’s. I had the same features as used in the Developers Toolkit for importing/exporting objects from the running client.

Continue reading »

Tagged with:
Sep 28

Here is another useful tool made by Rashed Amini aka. ara3n, i often use, when i have to “retrofit” objects from a newer version of NAV into an older version. Im sure you have tried this plenty of times, importing a 2009 object into a version 5 database – causing a crashed client. This is due to some of the new properties/triggers in the 2009 client that did not exist in previous version. Luckily the FOB files are backwards compatible, but for the tables, xmlports and reports it causes problems. Forms, Dataports and Codeunits works just fine.

Continue reading »

Tagged with:
Jul 30

In this series of posts “What is in your Dynamics NAV toolbelt”, i will highlight some of the tools i find very usefull in my daily work, and couldn’t live without. There are probably great alternatives to them out there, so please share your experiences with me.

NAVObjectViewer by Gerd Hübner is one of simplest and most useful tools for a NAV Developer, when you have to dig into a database with modifications, that often are undocumented or you just get a brief explanation of what a previous mod is doing. It is a great alternative to using the Developers Toolkit, as it does not require any setups and other dependencies. Just a quick and easy way to find objects with a nice search interface. And yes, it also has REGEX search capabilities.

Continue reading »

Tagged with:
preload preload preload