O'Reilly logo

Microsoft Dynamics NAV by Mark Brummel, Christopher Studebaker, David Studebaker, David Roys, Vjekoslav Babić, Cristina Nicolàs Lorente, Laura Nicolàs Lorente, Alex Chow

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building our application

We can use our Delta file to build our application, based on a new version of the software that also uses PowerShell commands.

PowerShell is, as the name implies, a very powerful tool that not only supports Dynamics NAV, but most Microsoft applications including the SQL Server. This allows us to generate a single script that restores a new SQL Database, applies our Delta file, compiles objects, and runs the test.

Let's go through this process step by step using an example script. In this script, the parameters are hardcoded for readability. It is recommended that you use variables instead.

  1. Prepare: the first step is to prepare some mandatory variables, such as a reference to the NAV Ide. Next, load the libraries that we need. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required