PSC_COM_RE_LOCATION
This table contains application specific details for reference entity locations.
Details
-
Schema: FUSION
-
Object owner: PSC_CC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
PSC_COM_RE_LOCATION_PK |
REF_ENTITY_LOCATION_KEY |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| REF_ENTITY_LOCATION_KEY | NUMBER | 18 | Yes | This column is used to indicate the unique identifier of the entity location record. | |
| REF_ENTITY_LOCATION_ID | VARCHAR2 | 50 | Yes | This column is used to indicate a logical identifier of the entity location record. | |
| RECORD_KEY | NUMBER | 18 | Yes | This column is foreign key to the reference entity parent table. | |
| RECORD_ID | VARCHAR2 | 50 | Yes | This column indicates record id of the reference entity parent table. | |
| REF_ENTITY_LOCATION_PUID | VARCHAR2 | 480 | Yes | This column is used to indicate the public unique identifier for the entity location record. | |
| RECORD_NUMBER | VARCHAR2 | 64 | Yes | This column is used to indicate the record number puid of the reference entity parent table. | |
| ENABLED_FLAG | VARCHAR2 | 1 | Yes | This column is used to indicate if the reference entity location is enabled. | |
| STATUS | VARCHAR2 | 30 | This column is used to indicate the current status of the reference entity location. | ||
| PRIMARY_FLAG | VARCHAR2 | 1 | Yes | This column is used to indicate the primary location of the reference entity. | |
| PARCEL_ID | NUMBER | 18 | This column is used to indicate the reference key to a parcel of real estate. | ||
| PARCEL_ID_ENTERED | VARCHAR2 | 50 | This column is used to indicate the identifier given by the user for the parcel of real estate. In the USA, this is the Assessor Parcel Number (APN). | ||
| ADDRESS_ID | NUMBER | 18 | This column is used to indicate the system-generated sequence key for the parcel address. | ||
| EMAIL_ADDRESS | VARCHAR2 | 320 | This column is used to indicate the email address of the reference entity location. | ||
| WEBSITE | VARCHAR2 | 1000 | This column is used to indicate the reference entity location website. | ||
| AREA_SIZE | NUMBER | 20 | This column is used to indicate the location area size. | ||
| AREA_SIZE_UOM | VARCHAR2 | 10 | This column is used to indicate the unit of measure for the location area size. | ||
| ADDRESS1 | VARCHAR2 | 240 | This column is used to indicate the first line of address. | ||
| ADDRESS2 | VARCHAR2 | 240 | This column is used to indicate the second line of address. | ||
| ADDRESS3 | VARCHAR2 | 240 | This column is used to indicate the third line of address. | ||
| ADDRESS4 | VARCHAR2 | 240 | This column is used to indicate the fourth line of address. | ||
| BUILDING | VARCHAR2 | 240 | This column is used to indicate the specific building name or number at a given address. | ||
| COUNTRY | VARCHAR2 | 3 | This column is used to indicate the country code that is part of the location address. | ||
| STATE | VARCHAR2 | 60 | This column is used to indicate the state that is part of the location address. | ||
| PROVINCE | VARCHAR2 | 60 | This column is used to indicate the province that is part of the location address. | ||
| COUNTY | VARCHAR2 | 60 | This column is used to indicate the county that is part of the location address. | ||
| CITY | VARCHAR2 | 60 | This column is used to indicate the city that is part of the location address. | ||
| POSTAL_CODE | VARCHAR2 | 60 | This column is used to indicate the postal code that is part of the location address. | ||
| POSTAL_PLUS4_CODE | VARCHAR2 | 20 | This column is used to indicate the four-digit extension to the United States postal code. | ||
| STREET_NUMBER | VARCHAR2 | 20 | This column is used to indicate the street number that is part of the location address. | ||
| STREET_DIRECTION | VARCHAR2 | 10 | This column is used to indicate the street direction that is part of the location address. | ||
| STREET_NAME | VARCHAR2 | 240 | This column is used to indicate the street name that is part of the location address. | ||
| STREET_TYPE | VARCHAR2 | 20 | This column is used to indicate the street type that is part of the location address. | ||
| STREET_SUFFIX | VARCHAR2 | 20 | This column is used to indicate the street suffix that is part of the location address. | ||
| BUILDING_TYPE | VARCHAR2 | 20 | This column is used to indicate the building type that is part of the location address. | ||
| FLOOR | VARCHAR2 | 20 | This column is used to indicate the floor number that is part of the location address. | ||
| UNIT_NUMBER | VARCHAR2 | 20 | This column is used to indicate the suite unit number that is part of the location address. | ||
| ADDRESS_FIELD1 | VARCHAR2 | 20 | This column is used to indicate the address information 1 that is part of the location address. | ||
| ADDRESS_FIELD2 | VARCHAR2 | 20 | This column is used to indicate the address information 2 that is part of the location address. | ||
| ADDRESS_FIELD3 | VARCHAR2 | 20 | This column is used to indicate the address information 3 that is part of the location address. | ||
| ADDRESS_TYPE | VARCHAR2 | 20 | This column is used to indicate the attribute used for address point validation. Possible values might be main address, virtual address, shipping gate, or others. | ||
| MUNICIPALITY_ID | VARCHAR2 | 20 | This column is used to indicate the municipality id that is part of the location address. | ||
| CROSSROAD1 | VARCHAR2 | 240 | This column is used to indicate the crossroad 1 that is part of the location address. | ||
| CROSSROAD2 | VARCHAR2 | 240 | This column is used to indicate the crossroad 2 that is part of the location address. | ||
| LANDMARK | VARCHAR2 | 240 | This column is used to indicate the landmark that is part of the location address. | ||
| STREET_NAME_CONCAT | VARCHAR2 | 350 | This column is used to indicate the concatenation of parts of an address that contains street information. | ||
| LONGITUDE | NUMBER | This column is used to indicate the geographical longitude information of the location. | |||
| LATITUDE | NUMBER | This column is used to indicate the geographical latitude information of the location. | |||
| COORDINATE_X | NUMBER | This column is used to indicate the geographical x coordinate of the location. | |||
| COORDINATE_Y | NUMBER | This column is used to indicate the geographical y coordinate of the location. | |||
| MIGRATED_DATA_FLAG | VARCHAR2 | 3 | Attribute identifying data migrated from legacy system. | ||
| 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. | |
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated 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. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| PSC_COM_RE_LOCATION | psc_com_re_record | RECORD_KEY |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| PSC_COM_RE_LOCATION_N1 | Non Unique | Default | RECORD_KEY |
| PSC_COM_RE_LOCATION_N2 | Non Unique | Default | REF_ENTITY_LOCATION_ID |
| PSC_COM_RE_LOCATION_U1 | Unique | Default | REF_ENTITY_LOCATION_KEY |
| PSC_COM_RE_LOCATION_U2 | Unique | Default | REF_ENTITY_LOCATION_PUID |