It is time to look at new features in NAV 2013 C/Side. This will be quick overlook of new commands and functionality in the developers environment, which is replacement of the classic client and is intended only for developing now.
Using this command you tell NAV to automatically calc the FlowFields after new record is read into the variable. You do not need to call CALCFIELDS in the repeat-until loop now and the fields will be calculated in one step with the reading the data.
The security filter model was changed in NAV 2013 and I hope that it will be much more usable now. Through this command you can set different modes:
For more info I recommend to read the C/Side help topic “Security Filter Modes”.
If you run the Symbol menu, you can find out that there is new group of command for each record variable, just under the “Functions” group. In this Keys group you can select existing keys and insert it into the code. No more manual entry of keys in NAV 2013!
This command will help you when using DotNet interop. It will return you the type object for the selected assembly. In NAV 2009 you needed to use workarounds to get the type.
Before you use some assembly, you can test if you can use it. Could help you when you are not sure, if the assembly is installed.
Function will translate the caption class. It is using new function in CU1 with ID 15.
This old command have new parameter – MultiSession. It looks like now you can use codecoverage for all sessions…
No more info on this, it looks like you can enable CodeCoverage only for selected object.
It looks like it reread the codecoverage data.
No info on this. May be similar to previous one…
New command to read the error code.
If there is error, you can read the call stack to be able to show more info to user or log more info somewhere.
There is whole new set of commands to work with debugger. Because the new debugger is based as Page in NAV, all functions of the debugger are exposed as commands and tables within NAV. It means, if you want, you can create your own debugger in NAV!
Classic NAS was replaced with functionality, which allows C/AL to create new sessions which are doing what you need in background. There are new three commands for this:
Start new session, which will run the selected codeunit, in selected company with selected record.
Return the execution mode of the current session. The execution modes are EXECUTIONMODE::Standard or EXECUTIONMODE::Debug.
You can decide to stop previously started background session.
Will tell you the User SID. Usage? Do not know yet…
If you are using NavUserPassword authentication, you can change the password for selected user through code.
If you are using NavUserPassword authentication, you can change the password of current user through this function.
Will return the current session ID.
Will tell you ID of your NST.
There is whole new area of functionality about testing the pages. You can simulate the user actions through the new commands. Than you can run automatized tests of the UI! I recommend to read more in documentation, look at some blog articles, watch the recorded sessions about this…
Again, whole new area of functionality. You can use the Query object to read data through complex select statements and loop through the result in code or save it as XML or CSV file.
You can now consume events of the DotNet assemblies (WithEvents property).
When you are creating addins, you can again create events which you can consume in NAV, or you can add methods, which you can call from NAV. And there is more than that. You can set the Addin behaviour lik automatic resize etc.
There is a LOT of new things in NAV 2013, but I am sure, that there will be LOT of blog articles in next days, because the NDA for MVPs about NAV 2013 beta was lifted. Thus, watch the blogs of my fellow MVP friends for more info...
As you can see, NAV 2013 is really big jump, may be bigger than NAV 5 to NAV 2009 jump.
Great news, thanks for all these informations.