SERIALNUMBER Function (Database)
Gets a string that contains the serial number of the license file for your Dynamics NAV system.
String := SERIALNUMBER;
Property Value/Return Value
Type: Text or Code
This string contains the serial number.
This example requires that you create the following text constants and variables in the C/AL Globals window.
|Text constant name||ENU value|
|Text000||The serial number for this software package is:\%1|
SN := SERIALNUMBER; MESSAGE(Text000, SN);
The output of this example is as follows:
The serial number for this software package is:
The serial number depends on your licensed version of Dynamics NAV. The serial number shown here is an example.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.