Revision as of 14:09, September 19, 2018 by Jdruker (talk | contribs) (1 revision imported: Importing updates for Iteration 11.3 (8.5.011.11))
Jump to: navigation, search

In the Column List:

  • P = Primary key
  • M = Mandatory field
  • F = Foreign key (where the term is used loosely to indicate a surrogate key reference to a field in another table, not a formal constraint)
  • DV = Default value
  • 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. (The Info Mart database in Cloud deployments is not multi-language.) THIS BULLET DISPLAYS ONLY IN THE MSSQL AND CLOUD PDMs.

Table RESOURCE_STATE_REASON

Description

Modified: 8.5.003 (in Oracle, fields with VARCHAR data types use explicit CHAR character-length semantics)

In partitioned databases, this table is not partitioned.


This table allows facts to be described by the state reason of the associated agent resource at a particular DN resource. Each row describes a hardware or software reason and a work mode.

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 DV
RESOURCE_STATE_REASON_KEY Oracle: NUMBER(10)
MSSQL: int
PostgreSQL: integer
X X
TENANT_KEY Oracle: NUMBER(10)
MSSQL: int
PostgreSQL: integer
X X
CREATE_AUDIT_KEY Oracle: NUMBER(19)
MSSQL: numeric(19)
PostgreSQL: numeric(19)
X X
UPDATE_AUDIT_KEY Oracle: NUMBER(19)
MSSQL: numeric(19)
PostgreSQL: numeric(19)
X X
REASON_TYPE Oracle: VARCHAR2(64 CHAR)
MSSQL: varchar(64)/nvarchar(64)
PostgreSQL: varchar(64)
REASON_TYPE_CODE Oracle: VARCHAR2(32 CHAR)
MSSQL: varchar(32)/nvarchar(32)
PostgreSQL: varchar(32)
HARDWARE_REASON Oracle: VARCHAR2(255 CHAR)
MSSQL: varchar(255)/nvarchar(255)
PostgreSQL: varchar(255)
SOFTWARE_REASON_KEY Oracle: VARCHAR2(255 CHAR)
MSSQL: varchar(255)/nvarchar(255)
PostgreSQL: varchar(255)
SOFTWARE_REASON_VALUE Oracle: VARCHAR2(255 CHAR)
MSSQL: varchar(255)/nvarchar(255)
PostgreSQL: varchar(255)
WORKMODE Oracle: VARCHAR2(64 CHAR)
MSSQL: varchar(64)/nvarchar(64)
PostgreSQL: varchar(64)
WORKMODE_CODE Oracle: VARCHAR2(32 CHAR)
MSSQL: varchar(32)/nvarchar(32)
PostgreSQL: varchar(32)
PURGE_FLAG Oracle: NUMBER(1)
MSSQL: numeric(1)
PostgreSQL: numeric(1)

RESOURCE_STATE_REASON_KEY

The primary key of this table and the surrogate key that is used to join this dimension to the fact tables.

TENANT_KEY

The surrogate key that is used to join the TENANT dimension to the fact tables.

CREATE_AUDIT_KEY

The surrogate key that is used to join to the CTL_AUDIT_LOG control table. The key specifies the lineage for data creation. This value can be useful for aggregation, enterprise application integration (EAI), and ETL tools—that is, applications that need to identify newly added data.

UPDATE_AUDIT_KEY

The surrogate key that is used to join to the CTL_AUDIT_LOG control table. The key specifies the lineage for data update. This value can be useful for aggregation, enterprise application integration (EAI), and ETL tools—that is, applications that need to identify recently modified data.

REASON_TYPE

The type of the reason—either Hardware or Software. This value can change with localization.

REASON_TYPE_CODE

The reason type code—either HARDWARE or SOFTWARE. This value does not change with localization.

HARDWARE_REASON

The hardware reason.

SOFTWARE_REASON_KEY

The key name with which the software reason was attached.

SOFTWARE_REASON_VALUE

The value with which the software reason was attached.

WORKMODE

The work mode. This field is set to one of the following values:

  • AgentWorkModeUnknown
  • AgentManualIn
  • AgentAutoIn
  • AgentLegalGuard
  • AgentAfterCallWork
  • AgentAuxWork
  • AgentWalkAway
  • AgentReturnBack

This value can change with localization.

WORKMODE_CODE

The work mode code. This field is set to one of the following values:

  • AGENT_WORK_MODE_UNKNOWN
  • AGENT_MANUAL_IN
  • AGENT_AUTO_IN
  • AGENT_LEGAL_GUARD
  • AGENT_AFTER_CALL_WORK
  • AGENT_AUX_WORK
  • AGENT_WALK_AWAY
  • AGENT_RETURN_BACK

This value does not change with localization.

PURGE_FLAG

This field is reserved.

Index List

No indexes are defined.

Subject Areas


References

The summary List of References will include the following entries for this table or view:


Child Table/View Child Table/View Column Parent Table/View Parent Table/View Column
RESOURCE_STATE_REASON CREATE_AUDIT_KEY CTL_AUDIT_LOG AUDIT_KEY
RESOURCE_STATE_REASON TENANT_KEY TENANT TENANT_KEY
RESOURCE_STATE_REASON UPDATE_AUDIT_KEY CTL_AUDIT_LOG AUDIT_KEY

 

Comments or questions about this documentation? Contact us for support!