Configure the Data Type property for fields
- Last UpdatedMar 01, 2024
- 2 minute read
The DataType property on fields identifies one of the various types of data and the possible values for that type; the operations that can be done on values of that type; the meaning of the data; and the way values of that type can be stored. It is important to set the data type on a field correctly.
Important: Fields with the same name in multiple locations require identical settings for the DataType, FieldType, and FieldIDType properties; otherwise, AVEVA™ Production Management might not record or aggregate the data, and AVEVA™ Production Managementmight not display the data.
|
Data type |
Numeric |
Description |
|---|---|---|
|
Boolean |
no |
The Boolean data type is an unsigned value that is interpreted as either True or False. |
|
Date |
no |
12:00:00 midnight, January 1, 0001 A.D. to 11:59:59 P.M., December 31, 9999 A.D. |
|
Double |
numeric |
Double variables have an approximate range of ±5.0 × 10^-324 to ±1.7 × 10^308 to a precision of 15-16 significant digits. Note: Double data type is not supported for Material Quality or Calculated Quality fields. |
|
Decimal |
numeric |
Fixed precision and scale numbers. When maximum precision is used, valid values are from - 10^38 +1 through 10^38 - 1. Note: Decimal data type is supported for Material Quality or Calculated Quality fields. |
|
Integer |
numeric |
Integer variables are stored as signed 32-bit (4-byte) ranging from -2,147,483 through 2,147,483,647. |
|
Long |
numeric |
Long variables are stored as signed 64-bit (8-byte) integers ranging in value from -9,223,372,036,854,775,808 through 9,223,372,036,854,775,807. |
|
Single |
numeric |
Single variables have an approximate range of ±1.5 × 10^-45 to ±3.4 × 10^38 to a precision of 7 digits. |
|
String |
no |
String values are used to store text as Unicode characters. Select String to reference a model type. A new AssociatedModel property appears that enables you to associate this field with Equipment, Material, or Personnel model type. |
Date Time Settings properties
|
Property |
Description |
Valid values |
|---|---|---|
|
IsDateTimeInUTC |
This property appears if the DataType property is set to Date. It specifies whether the field is already in Coordinated Universal Time (UTC). |
True, False |
|
UTCOffset |
This property appears if the IsDateTimeInUTC property is set to False. It specifies the number of offset hours to use to convert the field to Coordinated Universal Time (UTC). |
Any number |