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 2013 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 |
---|---|
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 2013. 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 2013 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 2013. Microsoft Dynamics NAV 2013 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 2013. |
In Microsoft Dynamics NAV 2013, the COUNT function does not always ignore security filters. It adheres to the SecurityFiltering Property. |
|
In Microsoft Dynamics NAV 2013, the COUNT function does not always ignore security filters. It adheres to the SecurityFiltering Property. |
|
COUNTAPPROX Function |
Not supported in Microsoft Dynamics NAV 2013. |
CREATETOTALS Function |
Redundant in Microsoft Dynamics NAV 2013 reports. We recommend that you use the SUM function in Visual Studio instead. |
Dataports |
Not supported in Microsoft Dynamics NAV 2013. 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. |
ENVIRON Function |
Not supported in Microsoft Dynamics NAV 2013. |
EXPORT Function (BLOB) |
Not supported in Microsoft Dynamics NAV 2013. |
EXPORTOBJECTS Function |
Not supported in Microsoft Dynamics NAV 2013. Use the finsql.exe executable with the ExportObjects command instead. For more information, see ExportObjects. |
Forms |
Not supported in Microsoft Dynamics NAV 2013. |
FormHandler Function |
Name changed to PageHandler. |
IMPORT Function (BLOB) |
Not supported in Microsoft Dynamics NAV 2013. |
IMPORTOBJECTS Function |
Not supported in Microsoft Dynamics NAV 2013. 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 2013, but still supported. This function always returns true. |
LANGUAGE function |
Not supported in Microsoft Dynamics NAV 2013. |
LookupFormID Property |
Name changed to LookupPageID Property. |
ModalFormHandler Function |
Name changed to ModalPageHandler. |
Microsoft Dynamics NAV 2013 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 2013 reports. |
NEWPAGEPERRECORD Function |
Not supported in Microsoft Dynamics NAV 2013 reports. |
OBJECTID Function |
Not supported in Microsoft Dynamics NAV 2013 reports. |
New XMLport trigger. |
|
New XMLport trigger. |
|
OnCreateHyperlink Trigger |
Not supported in Microsoft Dynamics NAV 2013 reports. |
OnHyperlink Trigger |
Not supported in Microsoft Dynamics NAV 2013 reports. |
OnPreSection Trigger |
Not supported in Microsoft Dynamics NAV 2013 reports. |
OnPostSection Trigger |
Not supported in Microsoft Dynamics NAV 2013 reports. |
OSVERSION Function |
Not supported in Microsoft Dynamics NAV 2013. |
PAGENO Function |
Not supported in Microsoft Dynamics NAV 2013 reports. |
PAPERSOURCE Function |
Not supported in Microsoft Dynamics NAV 2013 reports. |
New report property. |
|
New report property. |
|
New report property. |
|
PaperSourceOtherPages Property |
Not supported on Microsoft Dynamics NAV 2013 reports. |
Query object |
New object. |
RECORDLEVELLOCKING Function (Record and RecordRef) |
Not used in Microsoft Dynamics NAV 2013. The function is still available and compiles but always returns true. |
READCONSISTENCY Function (Record and RecordRef) |
Not used in Microsoft Dynamics NAV 2013. The function is still available and compiles but because Microsoft Dynamics NAV 2013 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 2013 does not let you modify the database by using an old copy of a record. |
RequestOptionsForm system variable |
Not supported in Microsoft Dynamics NAV 2013. |
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 2013 reports. |
SAVEASXML |
Not supported in Microsoft Dynamics NAV 2013 reports. |
New function to calculate FlowFields at the same time that you retrieve them from the database. |
|
In Microsoft Dynamics NAV 2013, 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 2013. Instead, you change the SecurityFiltering Property from Validated to Filtered. |
SETPERMISSIONFILTER Function (RecordRef) |
Not supported in Microsoft Dynamics NAV 2013. Instead, you change the SecurityFiltering Property from Validated to Filtered. |
SaveTableView property |
Not supported in Microsoft Dynamics NAV 2013. |
SHELL Function |
Not supported in Microsoft Dynamics NAV 2013. |
SHOWOUTPUT Function |
Not supported in Microsoft Dynamics NAV 2013 reports. |
New functions. |
|
SubFormLink Property |
Name changed to SubPageLink Property. |
SubFormView Property |
Name changed to SubPageView Property. |
SYNCHRONIZEALLLOGINS Function |
Not supported in Microsoft Dynamics NAV 2013. |
SYNCHRONIZESINGLELOGIN Function |
Not supported in Microsoft Dynamics NAV 2013 |
New objects and functions. |
|
The Text data type supports Unicode in Microsoft Dynamics NAV 2013. Microsoft Dynamics NAV 2013 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 2013 reports. |
In Microsoft Dynamics NAV 2013, 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 2013 reports. |
UseReqForm Property |
Name changed to UseRequestPage Property. |
VARIABLEACTIVE Function |
Not supported in Microsoft Dynamics NAV 2013. |
VISIBLE Function |
Not supported in Microsoft Dynamics NAV 2013. |
YIELD Function |
Not supported on Microsoft Dynamics NAV Server. |
See Also
Concepts
Functions Not Supported by Microsoft Dynamics NAV Web Client and Microsoft Dynamics NAV Portal Framework
Page Properties Not Supported by Microsoft Dynamics NAV Web Client and Microsoft Dynamics NAV Portal Framework