MSC_REGION_LOCATIONS

The table contains the list of external locations and the region mapped to it.

Details

  • Schema: FUSION

  • Object owner: MSC

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

MSC_REGION_LOCATIONS_PK

LOCATION_ID, SR_INSTANCE_ID

Columns

Name Datatype Length Precision Not-null Comments
LOCATION_ID NUMBER 18 Yes Location id generated on destination side
SR_LOCATION_ID NUMBER Source side value of the location identifier.
LOCATION_TYPE VARCHAR2 1 Identifies if the location is internal or external. I - Internal location, R - External location
REGION_ID NUMBER 18 Region identifier that is mapped to the location.
SR_INSTANCE_ID NUMBER 18 Yes Source application instance identifier.
LOCATION_CODE VARCHAR2 240 Yes Unique identifier for Location for a given source instance.
DESCRIPTION VARCHAR2 2000 Description of the customer/supplier site location.
ADDRESS1 VARCHAR2 240 First line of the Identifying address.
ADDRESS2 VARCHAR2 240 Second line of the Identifying address.
ADDRESS3 VARCHAR2 240 Third line of the identifying address.
ADDRESS4 VARCHAR2 240 Fourth line of the Identifying address.
FLOOR_NUMBER VARCHAR2 40 This is the floor number part of the address.
BUILDING VARCHAR2 240 Specific building name or number at a given address.
CITY VARCHAR2 60 City of the Identifying address.
STATE VARCHAR2 60 State of the identifying address.
PROVINCE VARCHAR2 60 Province of the identifying address.
COUNTY VARCHAR2 60 County where this address belongs.
POSTAL_CODE VARCHAR2 60 Postal code of the identifying address.
COUNTRY_CODE VARCHAR2 2 Yes Country where this address belongs.
ADDRESS_EFFECTIVE_DATE DATE Date when the location is valid
ADDRESS_EXPIRATION_DATE DATE Date when the location is no longer valid
TIMEZONE_CODE VARCHAR2 64 Stores the time zone code for the location
REFRESH_NUMBER NUMBER 18 Refresh Number is the Cycle id of collections
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
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_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
MSC_REGION_LOCATIONS msc_regions REGION_ID

Indexes

Index Uniqueness Tablespace Columns
MSC_REGION_LOCATIONS_U1 Unique Default LOCATION_ID, SR_INSTANCE_ID
MSC_REGION_LOCATIONS_U2 Unique Default SR_INSTANCE_ID, LOCATION_TYPE, LOCATION_CODE