HZ_GEO_TERRITORIES_INT
hz_geo_territories_int is an interface table to load Territory Geography data to TCA geography tables such as HZ_GEOGRAPHIES, HZ_RELATIONSHIPS, and HZ_HIERARCHY_NODES.
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 territory geographies/zone import batch in HZ_IMP_BATCH_SUMMARY. | |
GEOGRAPHY_OR_ZONE_NAME | VARCHAR2 | 360 | Yes | Primary name of the geography or zone. | |
GEOGRAPHY_OR_ZONE_TYPE | VARCHAR2 | 30 | Yes | Type of Geography or Zone. | |
GEOGRAPHY_OR_ZONE_TYPE_CODE | VARCHAR2 | 30 | Type code of Geography or Zone. | ||
ZONE_CODE | VARCHAR2 | 30 | User identifier for the geography Zone. | ||
GEOGRAPHY_USE | VARCHAR2 | 30 | Usage of geography data. | ||
SOURCE_ID | NUMBER | 18 | User identifier for the geography / Zone. | ||
PARENT_SOURCE_ID | NUMBER | 18 | User identifier for the parent geography / Zone. | ||
LEVEL_NUMBER | NUMBER | 2 | Country structure level number. | ||
GEO_LEVEL_NUMBER | NUMBER | 2 | Geography structure level number. | ||
GEOGRAPHY_ID | NUMBER | 18 | Unique geography identifier used in TCA geography tables (internal use only). | ||
PARENT_GEOGRAPHY_ID | NUMBER | 18 | Unique geography identifier of the parent used in TCA geography tables (internal use only). | ||
PARENT_GEOGRAPHY_TYPE | VARCHAR2 | 30 | Type of parent geography (internal use only). | ||
PARENT_GEOGRAPHY_USE | VARCHAR2 | 30 | Usage of parent geography (internal use only). | ||
RELATIONSHIP_ID | NUMBER | 18 | Relationship identifier for this geography/zone and its parent in HZ_RELATIONSHIPS table (internal use only) | ||
START_DATE | DATE | Start date from which this territory geography / zone is valid for use. | |||
END_DATE | DATE | Date date from which this territory geography / zone is no longer valid. | |||
COUNTRY_CODE | VARCHAR2 | 2 | Code of the Country to which the Geography belongs. | ||
COUNTRY_NAME | VARCHAR2 | 360 | Name of the Country to which the Geography belongs. | ||
GEO_PARENT_NAME1 | VARCHAR2 | 360 | Name of the parent geography used in TCA geography tables (internal use only). | ||
GEO_PARENT_NAME2 | VARCHAR2 | 360 | Name of the parent geography used in TCA geography tables (internal use only). | ||
GEO_PARENT_NAME3 | VARCHAR2 | 360 | Name of the parent geography used in TCA geography tables (internal use only). | ||
GEO_PARENT_NAME4 | VARCHAR2 | 360 | Name of the parent geography used in TCA geography tables (internal use only). | ||
GEO_PARENT_NAME5 | VARCHAR2 | 360 | Name of the parent geography used in TCA geography tables (internal use only). | ||
CHILD_GEOGRAPHY_TYPE_CODE1 | VARCHAR2 | 30 | Geography type of the child geography (internal use only). | ||
CHILD_GEOGRAPHY_TYPE_CODE2 | VARCHAR2 | 30 | Geography type of the child geography (internal use only). | ||
CHILD_GEOGRAPHY_TYPE_CODE3 | VARCHAR2 | 30 | Geography type of the child geography (internal use only). | ||
CHILD_GEOGRAPHY_TYPE_CODE4 | VARCHAR2 | 30 | Geography type of the child geography (internal use only). | ||
CHILD_GEOGRAPHY_TYPE_CODE5 | VARCHAR2 | 30 | Geography type of the child geography (internal use only). | ||
INCLUDE_CHILD_GEOGRAPHY_TYPE1 | VARCHAR2 | 260 | Geography type of the child geography (internal use only). | ||
INCLUDE_CHILD_GEOGRAPHY_TYPE2 | VARCHAR2 | 260 | Geography type of the child geography (internal use only). | ||
INCLUDE_CHILD_GEOGRAPHY_TYPE3 | VARCHAR2 | 260 | Geography type of the child geography (internal use only). | ||
INCLUDE_CHILD_GEOGRAPHY_TYPE4 | VARCHAR2 | 260 | Geography type of the child geography (internal use only). | ||
INCLUDE_CHILD_GEOGRAPHY_TYPE5 | VARCHAR2 | 260 | Geography type of the child geography (internal use only). | ||
LANGUAGE_CODE | VARCHAR2 | 4 | Stores the language in which identifier_value is stored. (Foreign key to FND_ LANGUAGES.LANGUAGE_CODE) | ||
INSERT_UPDATE_FLAG | VARCHAR2 | 1 | Indicates if a record should be explicitly inserted or updated (internal use only). | ||
ERROR_ID | NUMBER | 18 | Error ID in HZ_IMP_ERRORS. (internal use only) | ||
INTERFACE_ROW_ID | NUMBER | 18 | Yes | Unique identifier of the hz_geo_territories_int table.(internal use only) | |
FILE_RECORD_NUM | NUMBER | 18 | File import wizard uses this column to relate records in this interface table to rows in a file. (internal use only) | ||
GEO_ROOT_PARENT_ID | NUMBER | 18 | Unique identifier of the root geography / Zone (internal use only). | ||
FILE_NAME_SYSTASK_ID | NUMBER | 18 | This is an optional column for multi-csv uptake, but recommended. The column saves the individual sys task id for each input csv file, corresponding to value in the mkt_cm_systask table. This value will be populated by the import framework | ||
IMPORT_STATUS_CODE | VARCHAR2 | 30 | File import wizard status: I - In Progress, O - Obsolete(This would be the status of all the interface table records that were run before), E - Errored, S - Successful (internal use only) | ||
LAST_UPDATE_DATE | TIMESTAMP | Who column: indicates the date and time of the last update of the row. | |||
LAST_UPDATED_BY | VARCHAR2 | 64 | Who column: indicates the user who last updated the row. | ||
CREATION_DATE | TIMESTAMP | Who column: indicates the date and time of the creation of the row. | |||
CREATED_BY | VARCHAR2 | 64 | Who column: indicates the user who created 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. | |
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
HZ_GEO_TERRITORIES_INT_N1 | Non Unique | Default | BATCH_ID, SOURCE_ID, ERROR_ID |
HZ_GEO_TERRITORIES_INT_N2 | Non Unique | Default | BATCH_ID, PARENT_SOURCE_ID, SOURCE_ID, PARENT_GEOGRAPHY_TYPE, GEOGRAPHY_OR_ZONE_TYPE_CODE |
HZ_GEO_TERRITORIES_INT_N3 | Non Unique | Default | BATCH_ID, GEOGRAPHY_ID, ERROR_ID |
HZ_GEO_TERRITORIES_INT_N4 | Non Unique | Default | BATCH_ID, PARENT_GEOGRAPHY_ID, GEOGRAPHY_ID, ERROR_ID |
HZ_GEO_TERRITORIES_INT_N5 | Non Unique | Default | BATCH_ID, INSERT_UPDATE_FLAG |
HZ_GEO_TERRITORIES_INT_N6 | Non Unique | Default | BATCH_ID, LEVEL_NUMBER, ERROR_ID |
HZ_GEO_TERRITORIES_INT_N7 | Non Unique | Default | PARENT_SOURCE_ID, BATCH_ID, LEVEL_NUMBER, INSERT_UPDATE_FLAG |
HZ_GEO_TERRITORIES_INT_N8 | Non Unique | Default | BATCH_ID, IMPORT_STATUS_CODE |
HZ_GEO_TERRITORIES_INT_U1 | Unique | Default | BATCH_ID, INTERFACE_ROW_ID |