Jump to: navigation, search

In the Column List:

  • P = Primary key
  • M = Mandatory field
  • F = Foreign key
  • In the Data Type column, varchar/nvarchar means that the data type is varchar except in multi-language databases that use Unicode, in which case the data type is nvarchar.

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 int X X The DBID of the Field object. This is the primary key.
Name varchar(255) X The name of the object.
TenantID int X X The DBID of the Tenant to which this object belongs.
FolderID int The DBID of the Folder for the object.
Description varchar(255) Free format description.
DataType int 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 int Length of field in the database.
FieldType int 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 int 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 int 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 int 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 int 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 int 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 datetime 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 datetime The GMT-equivalent date and time when the object was removed.
LastChange datetime The GMT-equivalent date and time when the object was last changed (including object creation or removal).
Created_ts int The UTC-equivalent value of the CREATED field.
Created_tcode int A reference, derived from the value of the CREATED_TS field, to a record in the G_TIMECODE table.
Deleted_ts int The UTC-equivalent value of the DELETED field.
Deleted_tcode int A reference, derived from the value of the DELETED_TS field, to a record in the G_TIMECODE table.
LastChange_ts int The UTC-equivalent value of the LASTCHANGE field.
LastChange_tcode int A reference, derived from the value of the LASTCHANGE_TS field, to a record in the G_TIMECODE table.
GSYS_DOMAIN int 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 int A key that is used for partitioning.
GSYS_SYS_ID int System ID. Reserved for future use.
GSYS_SEQ bigint Insert Sequence. Not unique.
GSYS_USEQ bigint Update Sequence. Not unique.
GSYS_TS datetime Reserved
GSYS_TC int Reserved
GSYS_EXT_VCH1 varchar(255) Reserved
GSYS_EXT_VCH2 varchar(255) Reserved
GSYS_EXT_INT1 int 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 int Reserved
This page was last edited on January 10, 2020, at 15:27.
Comments or questions about this documentation? Contact us for support!