KTMG_RES_GROUP_CC_RULES

The table stores the information that defines rules which determine what charge codes can be used by a Security Group.

Foreign Keys

Primary Key Table

Primary Key Column

Foreign Key Column

KNTA_USERS

USER_ID

CREATED_BY

KNTA_USERS

USER_ID

LAST_UPDATED_BY

KNTA_SECURITY_GROUPS_NLS

SECURITY_GROUP_ID

SECURITY_GROUP_ID

Column Descriptions

Column Name

Null?

Data Type

Description

RES_GROUP_CC_RULE_ID

NOT NULL

NUMBER

System-generated identifier

CREATION_DATE

NOT NULL

DATE

Date record was created

CREATED_BY

NOT NULL

NUMBER

Identifier for the user who created the record

LAST_UPDATE_DATE

NOT NULL

DATE

Date record was last updated

LAST_UPDATED_BY

NOT NULL

NUMBER

Identifier for the user who last updated the record

SECURITY_GROUP_ID

NOT NULL

NUMBER

Foreign key to the parent Security Group for which this rule is defined

RESTRICTION_TYPE_CODE

NOT NULL

VARCHAR2(30)

Lookup code for 'TMG - charge code Filter Types'

VALUE

NOT NULL

VARCHAR2(80)

Value (corresponding to the RESTRICTION_TYPE_CODE) that is allowed as a charge code

ENABLED_FLAG

NOT NULL

VARCHAR2(1)

Determines whether this rule is being used or ignored (Y/N)

Indexes

Index Name

Index Type

Sequence

Column Name

KTMG_RES_GROUP_CC_RULES_U1

UNIQUE

1

RES_GROUP_CC_RULE_ID

KTMG_RES_GROUP_CC_RULES_U2

UNIQUE

1

SECURITY_GROUP_ID

KTMG_RES_GROUP_CC_RULES_U2

UNIQUE

2

RESTRICTION_TYPE_CODE

KTMG_RES_GROUP_CC_RULES_U2

UNIQUE

3

VALUE

Sequences

Sequence Name

Sequence Type

KTMG_RES_GROUP_CC_RULES_S

RES_GROUP_CC_RULE_ID