NAV 2018 – What’s new in C/AL

Ok, I know we should be talking about AL when looking into NAV 2018 – but why not start with something for the old dinosaurs first.

So what has changed in C/AL.

First we got a new data types SessionSettings.

The SessionSettings data type is a used for getting, setting and sending user personalization settings for the current client session.
Following functions are supported: COMPANY, INIT, LANGUAGEID, LOCALEID, PROFILEAPPID, PROFILEID, PROFILESYSTEMSCOPE, REQUESTSSIONSUPDATE and TIMEZONE.

Then we have some new functions.

The function TASKSCHEDULER.CANCREATETASK can be used to check if a user is allowed to create or schedule a task.

Function SESSION.APPLICATIONIDENTIFIER is used to identify the application. When executed from a codeunit that is running in the NAV Windows Client (aka Role Tailored) – you will get NAV.

In the C/AL Symbol Menu you can now find COMPANYPROPERTY with the functions DISPLAYNAME and URLNAME.
With these functions you can get the displayname defined in companies and corresponding the urlname.

Other new features are:

  • A new data type Verbosity
  • A new client type Api
  • Function SESSION.SENDTRACETAG is to be used from AL

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.