Changes in C/AL Behavior and Support from Earlier Versions of Microsoft Dynamics NAV
The following table provides an overview of the new, removed, or changed C/AL data types, functions, properties, and triggers in Microsoft Dynamics NAV 2015 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.
Data type, function, property, or trigger | Change |
---|---|
Includes the setting 10 that enables you to create a custom format for adding characters before and after a data value. |
|
Applies to XMLports. |
|
Applies to XMLports. |
|
Applies to XMLports. |
|
BEEP Function |
Not supported on Microsoft Dynamics NAV Server. |
Binary Data Type |
The Binary data type, used in earlier versions of Microsoft Dynamics NAV to store fixed lengths of binary data in a record, is not supported in Microsoft Dynamics NAV 2015. If you previously used the BINARY data type, consider using the BLOB Data Type instead. |
If you call the CALCFIELDS Function (Record) on a BLOB field, then you get the value of the BLOB that is in the database, not the value that you wrote to a BLOB OutStream. |
|
BottomMargin Property |
Not supported in Microsoft Dynamics NAV 2015 reports. |
CALCFIELDS execution is decoupled from Microsoft Dynamics NAV SIFT index definitions. This can reduce the number of required SIFT indices, which can improve performance. |
|
CALSUM execution is decoupled from Microsoft Dynamics NAV SIFT index definitions. This can reduce the number of required SIFT indices, which can improve performance. |
|
CALSUMS execution is decoupled from Microsoft Dynamics NAV SIFT index definitions. This can reduce the number of required SIFT indices, which can improve performance. |
|
CardFormID Property |
Name changed to CardPageID Property. |
The Code data type supports Unicode in Microsoft Dynamics NAV 2015. Microsoft Dynamics NAV 2015 does not enforce a limit on the length of a Code variable. You can specify a maximum length in the C/AL Globals or C/AL Locals window when you create the variable, but it is not required. |
|
COMMANDLINE Function |
Not supported in Microsoft Dynamics NAV 2015. |
In Microsoft Dynamics NAV 2015, the COUNT function does not always ignore security filters. It adheres to the SecurityFiltering Property. |
|
In Microsoft Dynamics NAV 2015, the COUNT function does not always ignore security filters. It adheres to the SecurityFiltering Property. |
|
COUNTAPPROX Function |
Not supported in Microsoft Dynamics NAV 2015. |
CREATETOTALS Function |
Redundant in Microsoft Dynamics NAV 2015 reports. We recommend that you use the SUM function in Visual Studio instead. |
Returns the path to the XML element in a report dataset. |
|
Dataports |
Not supported in Microsoft Dynamics NAV 2015. Use XMLports instead. |
Debugger functions |
New functions. |
You cannot call the DELETE function on a record for table 2000000001, the Object table or table 2000000006, the Company table. |
|
DrillDownFormID Property |
Name changed to DrillDownPageID Property. |
In Microsoft Dynamics NAV 2015, this property is supported on normal fields, not just FlowFields. |
|
In Microsoft Dynamics NAV 2015, this property is supported on normal fields, not just FlowFields. |
|
This property can be changed dynamically using a Boolean on the page. |
|
This property can be changed dynamically using a Boolean on the page. |
|
ENVIRON Function |
Not supported in Microsoft Dynamics NAV 2015. |
EXPORT Function (BLOB) |
Not supported in Microsoft Dynamics NAV 2015. |
EXPORTOBJECTS Function |
Not supported in Microsoft Dynamics NAV 2015. Use the finsql.exe executable with the ExportObjects command instead. For more information, see ExportObjects. |
Forms |
Not supported in Microsoft Dynamics NAV 2015. |
New function. |
|
FormHandler Function |
Name changed to PageHandler. |
IMPORT Function (BLOB) |
Not supported in Microsoft Dynamics NAV 2015. |
IMPORTOBJECTS Function |
Not supported in Microsoft Dynamics NAV 2015. Use the finsql.exe executable with the ImportObjects command instead. For more information, see ImportObjects. |
You cannot call the INSERT function on a record for table 2000000001, the Object table or table 2000000006, the Company table. |
|
ISSERVICETIER Function |
Obsolete in Microsoft Dynamics NAV 2015, but still supported. This function always returns true. |
KeyGroups Property |
Not supported in Microsoft Dynamics NAV 2015. Optionally, you can build indexes in SQL Server management tools. |
LANGUAGE function |
Not supported in Microsoft Dynamics NAV 2015. |
LookupFormID Property |
Name changed to LookupPageID Property. |
ModalFormHandler Function |
Name changed to ModalPageHandler. |
Microsoft Dynamics NAV 2015 does not let you modify the database by using an old copy of a record. You cannot call the MODIFY function on a record for table 2000000001, the Object table or table 2000000006, the Company table. |
|
NEWPAGE Function |
Not supported in Microsoft Dynamics NAV 2015 reports. |
NEWPAGEPERRECORD Function |
Not supported in Microsoft Dynamics NAV 2015 reports. |
OBJECTID Function |
Not supported in Microsoft Dynamics NAV 2015 reports. |
New XMLport trigger. |
|
New XMLport trigger. |
|
OnCreateHyperlink Trigger |
Not supported in Microsoft Dynamics NAV 2015 reports. |
OnHyperlink Trigger |
Not supported in Microsoft Dynamics NAV 2015 reports. |
OnPreSection Trigger |
Not supported in Microsoft Dynamics NAV 2015 reports. |
OnPostSection Trigger |
Not supported in Microsoft Dynamics NAV 2015 reports. |
OSVERSION Function |
Not supported in Microsoft Dynamics NAV 2015. |
PAGENO Function |
Not supported in Microsoft Dynamics NAV 2015 reports. |
PAPERSOURCE Function |
Not supported in Microsoft Dynamics NAV 2015 reports. |
New report property. |
|
New report property. |
|
New report property. |
|
PaperSourceOtherPages Property |
Not supported on Microsoft Dynamics NAV 2015 reports. |
Query object |
New object. |
This property can be changed dynamically using a Boolean on the page. |
|
RECORDLEVELLOCKING Function (Record and RecordRef) |
Not used in Microsoft Dynamics NAV 2015. The function is still available and compiles but always returns true. |
READCONSISTENCY Function (Record and RecordRef) |
Not used in Microsoft Dynamics NAV 2015. The function is still available and compiles but because Microsoft Dynamics NAV 2015 uses SQL Server's locking mechanisms and does not use snapshots like earlier versions of Microsoft Dynamics NAV, the return value is always false. |
Rename function |
Microsoft Dynamics NAV 2015 does not let you modify the database by using an old copy of a record. |
RequestOptionsForm system variable |
Not supported in Microsoft Dynamics NAV 2015. |
RunFormLink Property |
Name changed to RunPageLink Property. |
RunFormOnRec Property |
Name changed to RunPageOnRec Property. |
RunFormView Property |
Name changed to RunPageView Property. |
SAVEASHTML Function |
Not supported in Microsoft Dynamics NAV 2015 reports. |
SAVEASXML |
Not supported in Microsoft Dynamics NAV 2015 reports. |
New function to calculate FlowFields at the same time that you retrieve them from the database. |
|
In Microsoft Dynamics NAV 2015, you do not have to define keys only for SIFT indexes. Fewer SIFT indices and fewer Microsoft Dynamics NAV keys can improve performance. |
|
SETPERMISSIONFILTER Function (Record) |
Not supported in Microsoft Dynamics NAV 2015. Instead, you change the SecurityFiltering Property from Validated to Filtered. |
SETPERMISSIONFILTER Function (RecordRef) |
Not supported in Microsoft Dynamics NAV 2015. Instead, you change the SecurityFiltering Property from Validated to Filtered. |
SaveTableView property |
Not supported in Microsoft Dynamics NAV 2015. |
SHELL Function |
Not supported in Microsoft Dynamics NAV 2015. |
SHOWOUTPUT Function |
Not supported in Microsoft Dynamics NAV 2015 reports. |
New functions. |
|
This property can be changed dynamically using a Boolean on the page. |
|
SubFormLink Property |
Name changed to SubPageLink Property. |
SubFormView Property |
Name changed to SubPageView Property. |
Includes the Upgrade setting to create an upgrade codeunit. |
|
SYNCHRONIZEALLLOGINS Function |
Not supported in Microsoft Dynamics NAV 2015. |
SYNCHRONIZESINGLELOGIN Function |
Not supported in Microsoft Dynamics NAV 2015 |
New objects and functions. |
|
The Text data type supports Unicode in Microsoft Dynamics NAV 2015. Microsoft Dynamics NAV 2015 does not enforce a limit on the length of a Text variable. You can specify a maximum length in the C/AL Globals or C/AL Locals window when you create the variable, but it is not required. |
|
TOTALSCAUSEDBY Function |
Not supported in Microsoft Dynamics NAV 2015 reports. |
In Microsoft Dynamics NAV 2015, the default transaction isolation level is REPEATABLE READ. In earlier versions of Microsoft Dynamics NAV, it was SERIALIZABLE. This affects FIND and NEXT function calls when transaction type is Update, Snapshot, or UpdateNoLocks. |
|
URL Function |
Not supported on Microsoft Dynamics NAV 2015 reports. |
UseReqForm Property |
Name changed to UseRequestPage Property. |
VARIABLEACTIVE Function |
Not supported in Microsoft Dynamics NAV 2015. |
VISIBLE Function |
Not supported in Microsoft Dynamics NAV 2015. |
This property can be changed dynamically using a Boolean on the page. |
|
YIELD Function |
Not supported on Microsoft Dynamics NAV Server. |
See Also
Concepts
Functions Not Supported by Microsoft Dynamics NAV Web Client
Page Properties Not Supported by Microsoft Dynamics NAV Web Client