HZ_CODE_ASSIGNMENTS

The HZ_CODE_ASSIGNMENTS table stores the classification codes associated with a party along with the category_code. As the same classification code could belong to different category_codes, we would need to capture both the category_code and association code associayed to an enity. For example, Oracle Corporation can be assigned a classification code of Databases. Kellogg Company can be assigned a processed food classification code which belongs to the Agricultural Sector, category or British Petroleum can be assigned a classification code of Alternative energy.

Details

  • Schema: FUSION

  • Object owner: HZ

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

HZ_CODE_ASSIGNMENTS_PK

CODE_ASSIGNMENT_ID

Columns

Name Datatype Length Precision Not-null Comments Status
CODE_ASSIGNMENT_ID NUMBER 18 Yes Unique identifier of the assignment of an industrial classification code to an object. System Generated Primary Key.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
OWNER_TABLE_NAME VARCHAR2 30 Yes Table that stores the owner of the class code Active
OWNER_TABLE_ID NUMBER 18 Identifies the owner of the class code Active
CLASS_CATEGORY VARCHAR2 30 Yes Classification category name Active
CLASS_CODE VARCHAR2 30 Yes Classification code Active
PRIMARY_FLAG VARCHAR2 1 Yes Indicates if this is the primary class code of a class category for the organization. Y for the primary class code, N for all others.
START_DATE_ACTIVE DATE Yes The date that the class code applies to the organization. Active
END_DATE_ACTIVE DATE The date when the class code is no longer applied. Active
CF_TREE_NODE_ID VARCHAR2 32 This is for future use. Active
TREE_VERSION_ID VARCHAR2 32 This is for future use. Foreign key to FND_TREE_NODE.TREE_VERSION_ID Active
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row. Active
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row. Active
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row. Active
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row. Active
STATUS VARCHAR2 1 Record status flag Active
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. Active
CREATED_BY_MODULE VARCHAR2 30 TCA Who column Active
RANK NUMBER Used to rank classes if multiple classes have been assigned to a party. Active
OWNER_TABLE_KEY_1 VARCHAR2 255 First column of alphanumeric or multi-part foreign key. Active
OWNER_TABLE_KEY_2 VARCHAR2 255 Second column of alphanumeric or multi-part foreign key. Active
OWNER_TABLE_KEY_3 VARCHAR2 255 Third column of alphanumeric or multi-part foreign key. Active
OWNER_TABLE_KEY_4 VARCHAR2 255 Fourth column of alphanumeric or multi-part foreign key. Active
OWNER_TABLE_KEY_5 VARCHAR2 255 Fifth column of alphanumeric or multi-part foreign key. Active
REQUEST_ID NUMBER 18 Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. Active
JOB_DEFINITION_NAME VARCHAR2 100 Enterprise Service Scheduler: indicates the name of the job that created or last updated the row.
JOB_DEFINITION_PACKAGE VARCHAR2 900 Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row.
ACTUAL_CONTENT_SOURCE VARCHAR2 30 Source system that users can overwrite data from. Active
CONFLICT_ID NUMBER 18 Yes Disconnected Mobile: this value is used to guarantee the uniqueness of the row when duplicates are created in different databases (i.e. mobile databases or the server). Active
USER_LAST_UPDATE_DATE TIMESTAMP Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server). Active
ATTRIBUTE_CATEGORY VARCHAR2 30 Descriptive Flexfield: structure definition of the user descriptive flexfield. Active
INTEREST_PERCENTAGE NUMBER Stores interest shown by the customer for a particular class code in percentage.
CHANNEL VARCHAR2 30 Stores the channel of the particular class code. Example values are Direct and Indirect.
ATTRIBUTE1 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE2 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE3 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE4 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE5 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE6 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE7 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE8 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE9 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE10 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE11 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE12 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE13 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE14 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE15 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE16 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE17 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE18 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE19 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE20 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE21 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE22 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE23 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE24 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE25 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE26 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE27 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE28 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE29 VARCHAR2 150 Descriptive Flexfield: segment of the user descriptive flexfield. Active
ATTRIBUTE30 VARCHAR2 255 Descriptive Flexfield: segment of the user descriptive flexfield. Active
CPDRF_VER_SOR NUMBER 9 Cross Pillar Data Replication Framework (CPDRF) system column for tracking record version in System of Record (SOR) pillar when a record change is replicated to subscribing pillars by the replication flows.
CPDRF_VER_PILLAR NUMBER 9 Cross Pillar Data Replication Framework (CPDRF) system column for tracking record version when a record is changed by replication flows
CPDRF_LAST_UPD VARCHAR2 15 Cross Pillar Data Replication Framework (CPDRF) system column for tracking source pillar name when a record is changed by the replication flows.
ATTRIBUTE_NUMBER1 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER2 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER3 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER4 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER5 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER6 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER7 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER8 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER9 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER10 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER11 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_NUMBER12 NUMBER Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE1 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE2 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE3 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE4 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE5 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE6 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE7 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE8 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE9 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE10 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE11 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
ATTRIBUTE_DATE12 DATE Descriptive Flexfield: segment of the user descriptive flexfield.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
HZ_CODE_ASSIGNMENTS hz_class_categories CLASS_CATEGORY

Indexes

Index Uniqueness Tablespace Columns
HZ_CODE_ASSIGNMENTS_N1 Non Unique Default CLASS_CATEGORY, CLASS_CODE
HZ_CODE_ASSIGNMENTS_N2 Non Unique Default LAST_UPDATE_DATE, CODE_ASSIGNMENT_ID
HZ_CODE_ASSIGNMENTS_N3 Non Unique Default OWNER_TABLE_NAME, OWNER_TABLE_ID, PRIMARY_FLAG
HZ_CODE_ASSIGNMENTS_N4 Non Unique Default REQUEST_ID
HZ_CODE_ASSIGNMENTS_N5 Non Unique Default OWNER_TABLE_NAME, OWNER_TABLE_ID, START_DATE_ACTIVE, END_DATE_ACTIVE
HZ_CODE_ASSIGNMENTS_PK Unique Default CODE_ASSIGNMENT_ID, ORA_SEED_SET1
HZ_CODE_ASSIGNMENTS_PK1 Unique Default CODE_ASSIGNMENT_ID, ORA_SEED_SET2
HZ_CODE_ASSIGNMENTS_U1 Unique Default OWNER_TABLE_ID, OWNER_TABLE_KEY_1, OWNER_TABLE_KEY_2, OWNER_TABLE_KEY_3, OWNER_TABLE_KEY_4, OWNER_TABLE_KEY_5, OWNER_TABLE_NAME, ACTUAL_CONTENT_SOURCE, CLASS_CATEGORY, CLASS_CODE, START_DATE_ACTIVE, CONFLICT_ID, ORA_SEED_SET1
HZ_CODE_ASSIGNMENTS_U11 Unique Default OWNER_TABLE_ID, OWNER_TABLE_KEY_1, OWNER_TABLE_KEY_2, OWNER_TABLE_KEY_3, OWNER_TABLE_KEY_4, OWNER_TABLE_KEY_5, OWNER_TABLE_NAME, ACTUAL_CONTENT_SOURCE, CLASS_CATEGORY, CLASS_CODE, START_DATE_ACTIVE, CONFLICT_ID, ORA_SEED_SET2