Jump to: navigation, search

In the Column List:

  • P = Primary key
  • M = Mandatory field
  • F = Foreign key

Table GC_FIELD


This table stores information about the configuration of Field objects.

Tip
To assist you in preparing supplementary documentation, click the following link to download a comma-separated text file containing information such as the data types and descriptions for all columns in this table: Download a CSV file.

Hint: For easiest viewing, open the downloaded CSV file in Excel and adjust settings for column widths, text wrapping, and so on as desired. Depending on your browser and other system settings, you might need to save the file to your desktop first.

Column List

Legend

Column Data Type P M F Description
ID INTEGER X X The DBID of the Field object. This is the primary key.
Name VARCHAR(255) X The name of the object.
TenantID INTEGER X X The DBID of the Tenant to which this object belongs.
FolderID INTEGER The DBID of the Folder for the object.
Description VARCHAR(255) Free format description.
DataType INTEGER X The data type of field in the database. This corresponds to CfgDataType enumeration in Configuration Server. One of the following values:
  • 0—Unknown Data Type
  • 1—int
  • 2—float
  • 3—char
  • 4—varchar
  • 5—datetime

#DICTIONARY TYPE 516

Length INTEGER Length of field in the database.
FieldType INTEGER The type of the Field corresponding to the CfgFieldType enumeration in Configuration Server. Refer to G_Dictionary Values (for DB2Microsoft SQL Server, Oracle, or PostgreSQL, respectively) for a complete listing of permissible values.

#DICTIONARY TYPE 517

DefaultValue VARCHAR(255) The default value of the Field.
IsPrimaryKey INTEGER A flag which indicates whether a field is used as primary key. This corresponds to the CfgFlag enumeration in Configuration Server.
  • 0—Unknown.
  • 1—False. Field is not used as a primary key.
  • 2—True. Field is used as a primary key.

#DICTIONARY TYPE 509

IsUnique INTEGER A flag which indicates whether a field is unique. This corresponds to the CfgFlag enumeration in Configuration Server. One of the following values:
  • 0—Unknown.
  • 1—False. Field is not unique.
  • 2—True. Field is unique.

#DICTIONARY TYPE: 509

IsNullable INTEGER A flag which indicates whether a field allows null values. This corresponds to the CfgFlag enumeration in Configuration Server. One of the following values:
  • 0—Unknown.
  • 1—False. Field does not allow null values.
  • 2—False. Field does allow null values.

#DICTIONARY TYPE: 509

State INTEGER X The object state. This corresponds to the CfgObjectState enumeration (Configuration Server). One of the following values:
  • 0—Unknown. Reserved for when ICON is unable to determine object state.
  • 1—Enabled.
  • 2—Disabled.

#DICTIONARY TYPE 500

Status INTEGER X The status of the record. One of the following values:
  • 0—The status is unknown. Reserved for when ICON is unable to determine record status.
  • 1—Record is active.
  • 2—Record is inactive (object is deleted).
  • 10—Synchronization is in progress for an active record.

#DICTIONARY TYPE 24

Created TIMESTAMP The GMT-equivalent date and time when the object was written to IDB. This is not necessarily the actual creation time of the object.
Deleted TIMESTAMP The GMT-equivalent date and time when the object was removed.
LastChange TIMESTAMP The GMT-equivalent date and time when the object was last changed (including object creation or removal).
Created_ts INTEGER The UTC-equivalent value of the CREATED field.
Created_tcode INTEGER A reference, derived from the value of the CREATED_TS field, to a record in the G_TIMECODE table.
Deleted_ts INTEGER The UTC-equivalent value of the DELETED field.
Deleted_tcode INTEGER A reference, derived from the value of the DELETED_TS field, to a record in the G_TIMECODE table.
LastChange_ts INTEGER The UTC-equivalent value of the LASTCHANGE field.
LastChange_tcode INTEGER A reference, derived from the value of the LASTCHANGE_TS field, to a record in the G_TIMECODE table.
GSYS_DOMAIN INTEGER Contains the data source session ID (DSS_ID) for the session that was active when the data was processed by ICON. For more information, see the description in System Fields (for DB2Microsoft SQL Server, Oracle, or PostgreSQL, respectively).
GSYS_PARTITION INTEGER A key that is used for partitioning.
GSYS_SYS_ID INTEGER System ID. Reserved for future use.
GSYS_SEQ BIGINT Insert Sequence. Not unique.
GSYS_USEQ BIGINT Update Sequence. Not unique.
GSYS_TS TIMESTAMP Reserved
GSYS_TC INTEGER Reserved
GSYS_EXT_VCH1 VARCHAR(255) Reserved
GSYS_EXT_VCH2 VARCHAR(255) Reserved
GSYS_EXT_INT1 INTEGER A flag indicating the reliability of timestamp information stored in the CREATED and DELETED fields. One of the following values:
  • 0—Highly reliable; timestamps for both fields are taken from Configuration Server runtime notifications or the Configuration Server history log.
  • 1—CREATED timestamp is that of the time when configuration data was requested from Configuration Server, either during the initial ICON startup or during synchronization.
  • 2—DELETED timestamp is that of the time when configuration data was requested from Configuration Server; either during the initial ICON startup or during synchronization.
  • 3—Both CREATED and DELETED timestamps are taken from the time when configuration data was requested from Configuration Server, either during the initial ICON startup or during synchronization.
GSYS_EXT_INT2 INTEGER Reserved
This page was last edited on January 10, 2020, at 15:27.
Comments or questions about this documentation? Contact us for support!