HZ_GEO_STRUCTURE_LEVELS
The table HZ_GEO_STRUCTURE_LEVELS stores the geographical hierarchical structures. For example, the user can create the structure for US as 'Country-State-County-City-Postal Code'.
Details
-
Schema: FUSION
-
Object owner: HZ
-
Object type: TABLE
-
Tablespace: REFERENCE
Primary Key
Name | Columns |
---|---|
HZ_GEO_STRUCTURE_LEVELS_PK |
GEO_STRUCTURE_LEVEL_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
GEO_STRUCTURE_LEVEL_ID | NUMBER | 18 | Yes | Unique structure level identifier. | |
GEOGRAPHY_ID | NUMBER | 18 | Yes | ID of the geography for which you are defining the structure | |
GEOGRAPHY_TYPE | VARCHAR2 | 30 | Yes | Stores geography type that participates in the structure | |
PARENT_GEOGRAPHY_TYPE | VARCHAR2 | 30 | Yes | Parent of the geography type | |
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. | |
RELATIONSHIP_TYPE_ID | NUMBER | 18 | Yes | ID of the row in HZ_RELATIONSHIP_TYPES which has subject_type= PARENT_GEOGRAPHY_TYPE and object_type=GEOGRAPHY_TYPE | |
COUNTRY_CODE | VARCHAR2 | 2 | Yes | Country code of the geography that owns the structure | |
GEOGRAPHY_ELEMENT_COLUMN | VARCHAR2 | 30 | Yes | Information about the Geography Type for the parent information, stored in HZ_GEOGRAPHIES\222 columns geography_element1...10, is stored in the column GEOGRAPHY_ELEMENT_COLUMN of the HZ_GEO_STRUCTURE_LEVELS table | |
CREATED_BY_MODULE | VARCHAR2 | 30 | Yes | Source application module that created this record. | |
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | 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. | ||
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. | ||
ADDR_VAL_LEVEL | VARCHAR2 | 30 | Address validation level for a country | ||
GROUPING_FLAG | VARCHAR2 | 1 | Indicates if grouping is enabled for the level. Y for enabled , null for not enabled. | ||
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_GEO_STRUCTURE_LEVELS | hz_geographies | GEOGRAPHY_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
HZ_GEO_STRUCTURE_LEVELS_PK | Unique | Default | GEO_STRUCTURE_LEVEL_ID, ORA_SEED_SET1 |
HZ_GEO_STRUCTURE_LEVELS_PK1 | Unique | Default | GEO_STRUCTURE_LEVEL_ID, ORA_SEED_SET2 |
HZ_GEO_STRUCTURE_LEVELS_U1 | Unique | Default | GEOGRAPHY_ID, GEOGRAPHY_TYPE, PARENT_GEOGRAPHY_TYPE, ORA_SEED_SET1 |
HZ_GEO_STRUCTURE_LEVELS_U11 | Unique | Default | GEOGRAPHY_ID, GEOGRAPHY_TYPE, PARENT_GEOGRAPHY_TYPE, ORA_SEED_SET2 |
HZ_GEO_STRUCTURE_LEVELS_U2 | Unique | Default | COUNTRY_CODE, RELATIONSHIP_TYPE_ID, ORA_SEED_SET1 |
HZ_GEO_STRUCTURE_LEVELS_U21 | Unique | Default | COUNTRY_CODE, RELATIONSHIP_TYPE_ID, ORA_SEED_SET2 |
HZ_GEO_STRUCTURE_LEVELS_U3 | Unique | Default | COUNTRY_CODE, GEOGRAPHY_TYPE, PARENT_GEOGRAPHY_TYPE, ORA_SEED_SET1 |
HZ_GEO_STRUCTURE_LEVELS_U31 | Unique | Default | COUNTRY_CODE, GEOGRAPHY_TYPE, PARENT_GEOGRAPHY_TYPE, ORA_SEED_SET2 |