Error importing NAV License in AzureSQL Database

When opening a database installed in AzureSQL, you may get this error: The database on the server requires a Per Database license to be opened on SQL Azure You must use Powershell to import the Dynamics NAV license. To import a license file to a AzureSQL database I used the following command: Import-NAVServerLicense DynamicsNAV100 -LicenseData ([Byte[]]$(Get-Content -Path […]

Using SQL Profiler to find COMMITs (and other Dynamics NAV code)

Everyone of us has already experienced an unexpected COMMIT in the middle of a posting routine, for example, that prevents the full rollback from happening whenever there’s an error. You can always use the debugger to track the code and step into it, line after line, trying to find where the commit is. This will work but will […]

Showing item tracking lines in layouts (invoice, orders, transfers, etc)

As you may already have notice, standard commercial layouts (invoice, credit memo, order, etc) don’t show item tracking lines. Everytime our customers need to have this, they ask us to show the item tracking lines below each item line. Here’s how I did it, following the standard way available in the Sales – Shipment report […]

Running an object opens a new session

I was using Dynamics NAV 2013 R2 stock version and i’ve installed the cumulative update 6 for Dynamics NAV 2013 R2. After that, when I try to run an object in the Development Environment, a new Dynamics NAV session is opened instead of running the object in the currently opened session. This happens because in […]

Code Genius 7.0 with NAV 2013 R2 error

Hi, I was trying to use Code Genius Studio (7.0.2.3018) with Dynamics NAV 2013 R2 Build 36366 (Cumulative Update 6) and I got this error when opening the Classic SQL client. Microsoft Dynamics NAV ——— The program property ‘company’ is unknown. The manual Installation and System Management contains a list of the correct program properties. […]

Error running report: “Filter could not be applied. Could not apply filter…”

Hey, I was creating a new report and applying some filters while testing it. After a while, after changing the dataitems structure, i got the following error:   Microsoft Dynamics NAV ——— Filter could not be applied. Could not apply filter “01/01/10..03/06/14” to column no. “20” because the field is missing or unavailable. ——— OK […]