HZ_IMP_CONTACTPREFS
The import interface table HZ_IMP_CONTACTPREFS stores information for population into HZ_CONTACT_PREFERENCES table.
Details
-
Schema: FUSION
-
Object owner: HZ
-
Object type: TABLE
-
Tablespace: INTERFACE
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| BATCH_ID | NUMBER | 18 | Yes | Unique Identifier for a Batch | |
| END_DATE_FLAG | VARCHAR2 | 1 | Attribute is added to track END_DATE updates done by users | ||
| IMPORT_STATUS_CODE | VARCHAR2 | 30 | Status for the data in the interface table | ||
| INTERFACE_ROW_ID | NUMBER | 18 | Yes | Unique identifier of the HZ_IMP_PERSONLANG_T interface record. Internal use only. | |
| CREATED_BY | VARCHAR2 | 64 | Who column: indicates the user who created the row. | ||
| CREATION_DATE | TIMESTAMP | Who column: indicates the date and time of the creation of the row. | |||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Who column: indicates the user who last updated the row. | ||
| LAST_UPDATE_DATE | TIMESTAMP | Who column: indicates the date and time of the last update of the row. | |||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
| 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. | |
| INSERT_UPDATE_CODE | VARCHAR2 | 30 | Indicates if a record should be explicitly inserted or updated | ||
| ACTION_FLAG | VARCHAR2 | 1 | Indicates the action of insert or update based on matching outcome. | ||
| INTERFACE_STATUS | VARCHAR2 | 30 | Status for the data in the interface table | ||
| INSERT_UPDATE_FLAG | VARCHAR2 | 1 | Indicates if a record should be explicitly inserted or updated | ||
| ERROR_ID | NUMBER | 18 | Foreign Key to the Error Table | ||
| PARTY_ORIG_SYSTEM | VARCHAR2 | 30 | Original System ID for the Party | ||
| PARTY_ORIG_SYSTEM_REFERENCE | VARCHAR2 | 240 | Original System Reference for the Party | ||
| SITE_ORIG_SYSTEM | VARCHAR2 | 30 | Original System ID for the Site | ||
| SITE_ORIG_SYSTEM_REFERENCE | VARCHAR2 | 240 | Original System Reference for the Site | ||
| CP_ORIG_SYSTEM | VARCHAR2 | 30 | Original System ID for the Contact Point | ||
| CP_ORIG_SYSTEM_REFERENCE | VARCHAR2 | 240 | Original System Reference for the Contact Point | ||
| PARTY_ID | NUMBER | 18 | Party that owns the contact point preference | ||
| PARTY_SITE_ID | NUMBER | 18 | Party Site that owns the contact point preference | ||
| CONTACT_POINT_ID | NUMBER | 18 | Contact Point that owns the contact point preference | ||
| CONTACT_PREFERENCE_ID | NUMBER | 18 | Unique identifier for the contact preference | ||
| CONTACT_LEVEL_TABLE | VARCHAR2 | 30 | Table that stores the contact level of the contact preference. Uses the SUBJECT_TABLE lookup. Value can be HZ_PARTIES, HZ_PARTIES_SITES, or HZ_CONTACT_POINTS. | ||
| CONTACT_LEVEL_TABLE_ID | NUMBER | 18 | Foreign key to the table specified in CONTACT_LEVEL_TABLE column. Can be PARTY_ID from HZ_PARTIES table, CONTACT_POINT_ID from HZ_CONTACT_POINTS table, or PARTY_SITE_ID from HZ_PARTY_SITES table | ||
| CONTACT_TYPE | VARCHAR2 | 30 | Type of contact that should or should not be made with the party. Uses the CONTACT_TYPE lookup. | ||
| PREFERENCE_CODE | VARCHAR2 | 30 | Permission to use or not to use a particular contact method. Uses the PREFERENCE_CODE lookup. | ||
| PREFERENCE_TOPIC_TYPE | VARCHAR2 | 30 | Appropriate subjects to send or not to send to the party that the preference is created for. Uses the PREFERENCE_TOPIC_TYPE lookup. | ||
| PREFERENCE_TOPIC_TYPE_ID | NUMBER | 18 | Reduced LOV depending on the preference topic table selected. The PREFERENCE_TOPIC_TYPE_ID column and PREFERENCE_TOPIC_TYPE_CODE column are mutually exclusive. | ||
| PREFERENCE_TOPIC_TYPE_CODE | VARCHAR2 | 30 | Reduced LOV depending on the preference topic table selected. The PREFERENCE_TOPIC_TYPE_ID column and PREFERENCE_TOPIC_TYPE_CODE column are mutually exclusive. | ||
| PREFERENCE_START_DATE | DATE | Starting date of the period during which a party should or should not be contacted. | |||
| PREFERENCE_END_DATE | DATE | Ending date of the period during which a party should or should not be contacted. | |||
| PREFERENCE_START_TIME_HR | NUMBER | Starting hour of the time range during which a party should or should not be contacted. 0-23 hour format. | |||
| PREFERENCE_END_TIME_HR | NUMBER | Ending hour of the time range during which a party should or should not be contacted. 0-23 hour format. | |||
| PREFERENCE_START_TIME_MI | NUMBER | Starting minute of the time range during which a party should or should not be contacted. 0-59 minute format. | |||
| PREFERENCE_END_TIME_MI | NUMBER | Ending minute of the time range during which a party should or should not be contacted. 0-59 minute format. | |||
| MAX_NO_OF_INTERACTIONS | NUMBER | The number of times you can use this contact point. The period of time that this number applies is stored in the MAX_NO_OF_INTERACT_UOM_CODE column. | |||
| MAX_NO_OF_INTERACT_UOM_CODE | VARCHAR2 | 30 | The period of time during which the maximum number of interactions applies. Uses the MAX_NO_OF_INTERACT_UOM_CODE lookup. | ||
| REQUESTED_BY | VARCHAR2 | 30 | Indicates if the permission or restriction was created internally or requested by the party. Uses the REQUESTED_BY lookup. Value can be Internal or Party. | ||
| REASON_CODE | VARCHAR2 | 30 | Reason that this type of contact should or should not be made. Uses the REASON_CODE lookup. | ||
| ATTRIBUTE_CATEGORY | VARCHAR2 | 30 | Descriptive Flexfield: structure definition of the user descriptive flexfield. | ||
| ATTRIBUTE1 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE2 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE3 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE4 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE5 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE6 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE7 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE8 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE9 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE10 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE11 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE12 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE13 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE14 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE15 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE16 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE17 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE18 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE19 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE20 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE21 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE22 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE23 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE24 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE25 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE26 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE27 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE28 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE29 | VARCHAR2 | 150 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| ATTRIBUTE30 | VARCHAR2 | 255 | Descriptive Flexfield: segment of the user descriptive flexfield. | ||
| 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. | |||
| FILE_RECORD_NUM | NUMBER | 10 | This column is required by import wizard to related record in the interface table to the file row. | ||
| CONTACT_PREF_ORIG_SYSTEM | VARCHAR2 | 30 | Original System ID for the Contact Preference | ||
| CONTACT_PREF_ORIG_SYS_REF | VARCHAR2 | 240 | Original System Reference for the Contact Preference | ||
| ACTION_CODE | VARCHAR2 | 30 | Indicates delete action entered by user | ||
| FILE_NAME_SYSTASK_ID | NUMBER | 18 | Stores systask id for each import csv file. | ||
| PARTY_NUMBER | VARCHAR2 | 30 | Unique identification number for this party | ||
| PARTY_SITE_NUMBER | VARCHAR2 | 30 | Unique identification number for this party site |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| HZ_IMP_CONTACTPREFS | hz_imp_batch_summary | BATCH_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| HZ_IMP_CONTACTPREFS_N1 | Non Unique | Default | BATCH_ID, PARTY_ID |
| HZ_IMP_CONTACTPREFS_N10 | Non Unique | Default | BATCH_ID, PARTY_SITE_NUMBER |
| HZ_IMP_CONTACTPREFS_N11 | Non Unique | Default | SITE_ORIG_SYSTEM, SITE_ORIG_SYSTEM_REFERENCE |
| HZ_IMP_CONTACTPREFS_N12 | Non Unique | Default | BATCH_ID, CONTACT_POINT_ID |
| HZ_IMP_CONTACTPREFS_N2 | Non Unique | Default | BATCH_ID, CP_ORIG_SYSTEM, CP_ORIG_SYSTEM_REFERENCE, INTERFACE_STATUS |
| HZ_IMP_CONTACTPREFS_N3 | Non Unique | Default | BATCH_ID, PARTY_ORIG_SYSTEM, PARTY_ORIG_SYSTEM_REFERENCE, INTERFACE_STATUS |
| HZ_IMP_CONTACTPREFS_N4 | Non Unique | Default | BATCH_ID, CONTACT_LEVEL_TABLE_ID, CONTACT_LEVEL_TABLE |
| HZ_IMP_CONTACTPREFS_N5 | Non Unique | Default | CONTACT_PREFERENCE_ID, BATCH_ID |
| HZ_IMP_CONTACTPREFS_N6 | Non Unique | Default | BATCH_ID, FILE_RECORD_NUM, INTERFACE_STATUS |
| HZ_IMP_CONTACTPREFS_N7 | Non Unique | Default | BATCH_ID, CONTACT_PREFERENCE_ID, INTERFACE_STATUS |
| HZ_IMP_CONTACTPREFS_N8 | Non Unique | Default | BATCH_ID, CONTACT_PREF_ORIG_SYSTEM, CONTACT_PREF_ORIG_SYS_REF, INTERFACE_STATUS |
| HZ_IMP_CONTACTPREFS_N9 | Non Unique | Default | BATCH_ID, PARTY_NUMBER |
| HZ_IMP_CONTACTPREFS_U1 | Unique | Default | BATCH_ID, INTERFACE_ROW_ID |