RecordRef is a pointer!

Oh hai, it’s been a while. I’ve not been doing much coding in the last couple of years but now I’m right back into it, so here’s a short post to learn from my mistakes… Say you have a function (OnGlobalModify for example) that gives you a RecRef, but no xRefRef and you want to… Read More RecordRef is a pointer!

Advertisement

Copy NAV Data between companies and databases using SQL

This post is entirely based on the following script by Kine http://dynamicsuser.net/nav/b/kine/posts/copy-microsoft-dynamics-nav-company-by-sql-script-into-another-database-v2. If you read the comments you will note that a few people found bugs and Kine suggested he had some fixes, but I cannot find anything else. So I took it on myself to fix the bugs (they were mostly around allowing different… Read More Copy NAV Data between companies and databases using SQL

Connecting to Microsoft Dynamics NAV OData service from Javascript

If you have ever tried to connect to NAV Web Services or OData services you will know that the biggest headache is getting the security to work (I have spent many days bashing my head against Kerberos). If you don’t need to impersonate the end-user things get a little simpler (create a UserPassword Service Tier,… Read More Connecting to Microsoft Dynamics NAV OData service from Javascript

How-to include non-Image Resources with Dynamics NAV Javascript Add-Ins

tl;dr version: Use GetImageResource. But it doesn’t always just work… Now I wish that I could claim that I uniquely discovered this neat little trick, but while I will claim that I discovered it with no outside help, it’s obviously obvious enough that I’ve heard a few other people in the channel talk about it… Read More How-to include non-Image Resources with Dynamics NAV Javascript Add-Ins