The following table provides an overview of the new, removed, or changed C/AL data types, functions, properties, and triggers in Microsoft Dynamics NAV 2016 since the previous version of Microsoft Dynamics NAV. For more information about the changes, see the specific topic about the data type, function, property, or trigger.

C/AL Data Types

The following table lists the new data types in Microsoft Dynamics NAV 2016.

Data Type Description

Media

A complex type that encapsulates media (such as images) in the application database for displaying the media with associated records. The data type can be used on table fields and supports the following functions:

  • ImportFile
  • ImportInStream
  • MEDIAID
  • HASVALUE
  • EXPORTFILE
  • EXPORTSTREAM

See the C/AL Functions section for a description of these functions.

MediaSet

A complex type that encapsulates media files, such as images, in application database for displaying the media with associated records. The MediaSet data type enables you to include multiple media files as part of a collection on a record. The MediaSet data type can be used on table fields and supports the following functions:

  • ImportFile
  • ImportInStream
  • MEDIAID
  • COUNT
  • EXPORTMEDIASET

See the C/AL Functions section for a description of these functions.

C/AL Functions

The following table lists the new, changed, and functions in Microsoft Dynamics NAV 2016.

Function Description

New Functions

APPLICATIONAREA Function

Gets or sets the application areas for the current session.

CAPTIONCLASSTRANSLATE Function

Returns a translated version of the caption string. The string is translated to the current local language.

CHANGECOMPANY Function (RecordRef)

Redirects references to table data from one company to another.

COUNT Function (MediaSet)

Gets the number of media files that are included in a media set of a record.

EXPORTFILE Function (Media)

Exports a media object that is set up on a record to a file.

EXPORTFILE Function

Exports the media objects that included in a media set to individual files.

EXPORTSTREAM Function (Media)

Exports a media object that is set up on a record to an OutStream object.

HASVALUE Function (Media)

Detects whether a record has a media object in the Media data type field.

IMPORTFILE Function (Media)

Adds media from a file to a media set of a record.

IMPORTFILE Function (MediaSet)

Adds media from a file to a media set of a record.

IMPORTSTREAM Function (Media)

Adds media from an InStream object to a record.

IMPORTSTREAM Function (MediaSet)

Adds media from an InStream object to a media set of a record.

ISBYTE Function (Variant)

Indicates whether a C/AL variant contains a Byte variable.

ISTEXTCONSTANT Function (Variant)

Indicates whether a C/AL variant contains a text constant.

MEDIAID Function (Media)

Get the ID that is assigned to media in the database.

MEDIAID Function (MediaSet)

Gets the ID that is assigned to the media set of a record.

Changed Functions

C/AL Properties

The following table lists the new, changed, and removed properties in Microsoft Dynamics NAV 2016.

Property Description

New Properties

ApplicationArea Property

Sets the application areas that apply to the control.

PromotedOnly Property

Specifies whether a page action will appear only on the Home tab in the ribbon and not on the tab where it is defined.

Changed Properties

C/AL Statements

The following table lists the new, changed, and removed C/AL statements in Microsoft Dynamics NAV 2016.

Statement Description

New Statements

Changed Statements

See Also