HZ_IMP_GEOGRAPHIES_T
HZ_IMP_GEOGRAPHIES_T is an interface table to load data to TCA geography tables such as HZ_GEOGRAPHIES, HZ_GEOGRAPHY_IDENTIFIERS, HZ_RELATIONSHIPS, and HZ_HIERARCHY_NODES. SOURCE_ID and PARENT_SOURCE_ID are arbitrary user-provided numbers to connect a geography and its parent within a job id of this interface table. For example, if United States has a SOURCE_ID 1, all states under it should have the PARENT_SOURCE_ID 1. All counties under California must have a PARENT_SOURCE_ID 22 if SOURCE_ID of California is 22.
Details
-
Schema: FUSION
-
Object owner: HZ
-
Object type: TABLE
-
Tablespace: INTERFACE
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
INTERFACE_ROW_ID | NUMBER | 18 | Unique identifier for this interface record. (internal use only) | ||
BATCH_ID | NUMBER | 18 | Unique identifier for a geography import batch in HZ_IMP_BATCH_SUMMARY. | ||
RECORD_TYPE_CODE | NUMBER | 2 | Yes | Specifies what data needs to be created. | |
GEOGRAPHY_TYPE | VARCHAR2 | 30 | Type of geography. | ||
PRIMARY_GEOGRAPHY_NAME | VARCHAR2 | 360 | Yes | Primary name of the geography. | |
PRIMARY_GEOGRAPHY_CODE | VARCHAR2 | 30 | Primary code of the geography. | ||
PRIMARY_GEOGRAPHY_CODE_TYPE | VARCHAR2 | 30 | Primary code type of the geography. | ||
COUNTRY_CODE | VARCHAR2 | 2 | Yes | Code of the Country to which the Geography belongs. | |
LEVEL_NUMBER | NUMBER | 2 | Country structure level number. | ||
SOURCE_ID | NUMBER | 18 | User identifier of this geography. | ||
PARENT_SOURCE_ID | NUMBER | 18 | User identifier of parent geography. | ||
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). | ||
RELATIONSHIP_ID | NUMBER | 18 | Relationship identifier for this geography and its parent in HZ_RELATIONSHIPS table (internal use only). | ||
START_DATE | DATE | Start date from which this geography is valid for use. | |||
END_DATE | DATE | Date from which this geography is no longer valid. | |||
GEO_DATA_PROVIDER | VARCHAR2 | 30 | Name of the data source provider. | ||
LANGUAGE_CODE | VARCHAR2 | 4 | Stores the language in which identifier_value is stored. (Foreign key to FND_ LANGUAGES. LANGUAGE_CODE) | ||
TIMEZONE_CODE | VARCHAR2 | 64 | Time zone of the geography (Foreign key to FND_TIMEZONES_B.TIMZONE_CODE) | ||
IDENTIFIER_TYPE | VARCHAR2 | 30 | Specifies whether the value in identifier_value is a code or a name . | ||
IDENTIFIER_SUBTYPE | VARCHAR2 | 30 | Specifies the type of a code or a name. | ||
IDENTIFIER_VALUE | VARCHAR2 | 360 | Stores the value of the identifier type. | ||
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) | ||
FILE_RECORD_NUM | NUMBER | 10 | File import wizard uses this column to relate records in this interface table to rows in a file. (internal use only) | ||
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) | ||
ACTION_CODE | VARCHAR2 | 30 | File Import Uses this column to Identify those records that need support for Delete. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
HZ_IMP_GEOGRAPHIES_T_N1 | Non Unique | Default | BATCH_ID, SOURCE_ID, ERROR_ID |
HZ_IMP_GEOGRAPHIES_T_N2 | Non Unique | Default | BATCH_ID, PARENT_SOURCE_ID, SOURCE_ID, PARENT_GEOGRAPHY_TYPE, GEOGRAPHY_TYPE |
HZ_IMP_GEOGRAPHIES_T_N3 | Non Unique | Default | BATCH_ID, GEOGRAPHY_ID, ERROR_ID |
HZ_IMP_GEOGRAPHIES_T_N4 | Non Unique | Default | BATCH_ID, PARENT_GEOGRAPHY_ID, GEOGRAPHY_ID, ERROR_ID |
HZ_IMP_GEOGRAPHIES_T_N5 | Non Unique | Default | BATCH_ID, INSERT_UPDATE_FLAG, RECORD_TYPE_CODE, PRIMARY_GEOGRAPHY_CODE |
HZ_IMP_GEOGRAPHIES_T_N6 | Non Unique | Default | BATCH_ID, LEVEL_NUMBER, ERROR_ID |
HZ_IMP_GEOGRAPHIES_T_N7 | Non Unique | Default | PARENT_SOURCE_ID, BATCH_ID, LEVEL_NUMBER, INSERT_UPDATE_FLAG |
HZ_IMP_GEOGRAPHIES_T_U1 | Unique | Default | INTERFACE_ROW_ID |