Tagged: 2009

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 »

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 »

NAV2009: The Sales Header does not exist

I have lately received this error “The Sales Header does not exist” a couple of times in Navision 2009.

First I thought this was caused by a filter not being reset on the form – but I got wiser.
Suddenly I noticed a pattern. Read more »

Can we use NAV 2009 objects in older versions?

A guy I know wanted to reuse objects from NAV 2009 in a NAV 5.0 SP1 but had some difficulties by doing it.

In the Navision versions below 2009 you could easily reuse objects. For example there were no problems in moving objects between NAV 4 and NAV 5. So why are there problems when moving objects from NAV 2009 to NAV 5.0 SP1?

Most users will think there is no problem, due to the fact that NAV 2009 is basically just a NAV 5.0 SP2 – but they will get wiser. Read more »

Transforming Forms to Pages

If you are using the Role Tailored Client and want to use the Forms in it, you have to transform them to Pages. In NAV 2009 you can transform Forms to Pages with the help of the form transformation tool.

So the first thing to do – is to install the form transformation tool. To install the form transformation tool, just copy the contents of the transformation tool folder to any location on the Microsoft Dynamics NAV 2009 server. Read more »

What’s new in Dynamics NAV 2009?

One of the major changes is that now Dynamics NAV 2009 is a three-tier solution.

It comes with 2 clients – Dynamics NAV Classic, which is equal to the “old” clients, and the new Role Tailored client.

As a developer, you will mainly be using the Classic client, because all changes have to be done in the classic client.

So what’s new in the Classic client? Read more »