Version: Available or changed with runtime version 1.0.
Gets a string that contains the serial number of the license file for your system.
Syntax
String := Database.SerialNumber()
Note
This method can be invoked using property access syntax. [!NOTE] This method can be invoked without specifying the data type name.
Return Value
String
Type: Text
The serial number.
Example
var
SN: Text[30];
Text000: Label 'The serial number for this software package is:%1.';
begin
SN := SerialNumber;
Message(Text000, SN);
end;
The output of this example is as follows:
The serial number for this software package is:
W1-ZA-002-6R75A-7
Note
The serial number depends on your licensed version of Dynamics 365. The serial number shown here is an example.