Category: Navision

RSS Reader Add-In for the RoleTailored Client

Add-Ins are used to add new features to the RoleTailored Client and was introduced with NAV 2009 SP1.

I have previous written about a ASP.NET RSS reader – in that article, the collection of feeds was a C# function, so why not use this function to extend the RoleTailored Client.

I will be using Visual Studio 2008 to write a Dynamic Link Library (dll), but you can also use the free Express version of Visual C#.

Let’s start by creating a new project – a class library. I have chosen to call it naviRSS.
Read more »

NAV 2009 SP1 – Testing Codeunits – Part 2

In the earlier article, we where using the ConfirmHandler – but confirm is not everything a function can contain. So why not add the handling of Message Boxes ;-)

First, let us a add simple test message function to the previous created “doTest” codeunit. The function could look this:

 cside |  copy code |? 
PROCEDURE TestMessage@1112800001(useWrong@1112800000 : Boolean) : Boolean;
  IF useWrong THEN
    MESSAGE('Wrong Message')
    MESSAGE('Test Ok');

Read more »

NAV 2009 SP1 – Testing Codeunits

One of the new features in NAV 2009 SP1 is C/AL Testability.

Let try using the new feature to test a simple codeunit – let us call the codeunit doTest. The codeunit will only contain a simple function, that includes a confirm and will look like this:

 cside |  copy code |? 
PROCEDURE TestConfirm@1112800000(useConfirm@1112800000 : Boolean) out : Boolean;
    IF useConfirm THEN
        IF CONFIRM('Do you confirm?',TRUE) THEN
          ERROR('No confirmation!');

Read more »

Yes is not an option



During my tests with NAV 2009 SP1 I ran into an old well known error / problem.
So why not write a post on it ;-)

When starting a Navision Client (in this case a Classic Client) you may get the error “Yes is not an option” or a localize version “Ja is not an option”.

Read more »

Error List in NAV 2009 SP1

Have you seen the new Error List in NAV 2009 SP1?

When you know compile objects – errors are shown in an Error List Window.

NAV2009SP1 - Error List
Read more »

NAV 2009 SP1 has been released!

Yeah the long awaited NAV 2009 SP1 has been released!

As some of might already know NAV 2009 SP1 has been released in 16 Localized versions. (Australia, Austria, Canada (English and French), Denmark, France, Germany, India (English), Ireland, Italy, Mexico, the Netherlands, New Zealand, Spain, Switzerland, the United Kingdom, the United States, and W1 (English))

So what’s new?

Some think it is mainly changes to RoleTailored client – but that’s not all :-) I will not go through everything – but only mention some nice new features.

Read more »