Programming Microsoft Dynamics NAV 2013 (bis)

I already blogged about the book I was going to read.
I haven’t finished the book yet, but I didn’t want to wait to write a review. Finishing the book will take me some more weeks because I am not reading it full time (lack of time) but I read it on my smartphone whenever I […]

Implementing Microsoft Dynamics NAV 2013 (bis)

I finished reading "Implementing Microsoft Dynamics NAV 2013" about which I wrote in another post.
I took me a little longer than expected. Not because it so difficult to read but because of some private I have been very busy lately (both privately as for work).
As a rule, technical books have the habit of being a […]

Virtual tables ”Permission Range” and “License Permission”

These tables show the object-permissions you have with current license and security-roles (<NAV2013) / Permission roles (NAV2013).
Now that the forms and dataports have died, I would expect not to see them anymore in these virtual tables.
And indeed, I don’t see “Form” or “Dataport” as value in the field “Object Type”. But I do still see […]

“BLOB Reference”.EXPORT in servicetier

Question 1:
What happens if you compile these 3 commands and you are using the servicetier?
Object.”BLOB Reference”.EXPORT(‘c:\xx\y.txt’);
Object.”BLOB Reference”.EXPORT(‘c:\xx\y.txt’,FALSE);
Object.”BLOB Reference”.EXPORT(‘c:\xx\y.txt’,TRUE);
Answer 1:
You get this warning twice: “Function ‘EXPORT’ is obsolete for Microsoft Dynamics NAV Server.”
Question 2 (Surprised): Twice? Why not three times?
Answer 2: The first line (without the second parameter) does NOT generate the warning! And when running […]

Implementing Microsoft Dynamics NAV 2013

I just started reading the book.

I just finished Chapter 1 “Introducing Microsoft Dynamics NAV 2013”. It explains in short the functional areas in NAV and a first hint of the different clients. I thought this chapter would be boring (after all, I have been working with NAV since 1999) because I know most of it. […]

NAV2013:FORM in NAV 2013

No, they don’t exist. You can’t use them, but I got these:

This error is quite clear: you are using FORM.RUNMODAL somewhere and that is not allowed.

But this error is less clear: It means you are using FORM::"Some Form" somewhere.
The fun part is that if you have the object open and hit F11 to compile and […]

NAV2013 FINDSET

RESET;
IF FINDSET THEN
REPEAT
MESSAGE(’A:%1′,Code);
UNTIL NEXT(-1) = 0;
RESET;
ASCENDING(FALSE);
IF FINDSET THEN
REPEAT
MESSAGE(’B:%1′,Code);
UNTIL NEXT(-1) = 0;
RESET;
IF FINDSET THEN
REPEAT
MESSAGE(’C:%1′,Code);
UNTIL NEXT = 0;
Question: which of these 3 IF-THEN-REPEAT-UNTIL will give all records? Which generates an error? Which gives only 1 record?
A: gives only 1 record
B: gives the all data and no error
C: gives the all data and no error
Seen something weird? Did […]

NAV2013:Database Options

The General, Database Files, Transaction Log Files are still the same as in NAV 2009 R2.
Tab Collation:
Because we (FINALLY!) have Unicode in NAV, the SQL collation has been dropped. A negative point is that the database will probably be bigger (depending also on the number of dimensions you have and how you use them) but […]

NAV2013

I will be trying to blog a little about NAV2013 in the near future.
While I am studying the online help (http://msdn.microsoft.com/en-us/library/hh173988(v=nav.70) ) of NAV2013, I sometimes want to comment on some changes and sometimes I wonder about how something works or how it changed.
Lately I have blogged very little, but I hope to change that […]

OnInitXMLport-trigger

I was testing a XML-port used as a parameter in a function of a codeunit that was published as a webservice (I hope this is clear!).
Let me rephrase it anyway:
I have a codeunit published as a webservice. In that codeunit I have a function and that function has a XML-port as parameter.
So when I put […]

Create a new blog and join in the fun!