Search Results msc_tp_site_id_lid
Overview
MSC_TP_SITE_ID_LID is a table owned by the MSC schema and belongs to the Advanced Supply Chain Planning (ASCP) product family in Oracle E-Business Suite 12.1.1 and 12.2.2. It is populated by the ASCP data collection program, which extracts master and transactional data from source EBS instances and loads it into the planning server schema. The table maintains the correspondence between identifiers that originate in the source instance and the surrogate identifiers generated and used within the planning data model for trading partner sites.
In an ASCP topology, source instance identifiers (such as a vendor site or customer site primary key) cannot be assumed to be unique or stable across multiple source instances. The planning engine therefore assigns its own internal TP_SITE_ID, and this table records the cross-reference between the two identifier spaces. Each row ties a specific trading partner site, as seen through a specific source instance and partner type, to its planning-side identity.
Under a heuristic Data Vault classification derived from the foreign key structure, this object is modeled as a standalone entity. That classification should be treated as a modeling suggestion only: the table behaves as a mapping or cross-reference structure rather than as a hub, link, or satellite in a strict Data Vault sense, because it exists primarily to translate source keys into planning keys.
Key Information Stored
The documented physical schema contains eight columns. The most significant are the following:
- SR_TP_SITE_ID — the trading partner site identifier as defined in the source instance. This is the source-side business key.
- PARTNER_TYPE — discriminates the category of trading partner (for example, supplier or customer), since the same site identifier space may be shared across partner roles.
- SR_INSTANCE_ID — identifies the source EBS instance from which the record was collected. This is essential in multi-instance planning deployments.
- SR_COMPANY_ID — the source-side company or organization identifier associated with the site.
- TP_SITE_ID — the surrogate site identifier used internally by the planning application.
- OPERATING_UNIT — the operating unit context under which the site is defined.
- LOCATION_ID — the location identifier linked to the trading partner site.
- SR_CUST_ACCT_ID — the source customer account identifier when the partner is a customer.
The primary key, MSC_TP_SITE_ID_LID_PK, is a composite business key spanning SR_TP_SITE_ID, PARTNER_TYPE, and SR_INSTANCE_ID. A separate unique index, MSC_TP_SITE_ID_LID_U1, covers SR_INSTANCE_ID, SR_TP_SITE_ID, PARTNER_TYPE, and SR_COMPANY_ID, and serves as an additional business-key candidate that enforces uniqueness across the company dimension.
Common Use Cases and Queries
The dominant use case is resolving a source-side trading partner site identifier to its planning-side TP_SITE_ID during collection validation, data reconciliation, and planning data debugging. A typical query joins the table to planning supply and demand tables to report activity by source site:
- Source-to-planning translation:
SELECT TP_SITE_ID FROM MSC.MSC_TP_SITE_ID_LID WHERE SR_INSTANCE_ID = :inst AND SR_TP_SITE_ID = :site AND PARTNER_TYPE = :type; - Duplicate or orphan detection: grouping by SR_INSTANCE_ID, SR_TP_SITE_ID, and PARTNER_TYPE to identify rows that lack a matching planning-side record.
- Collection reconciliation: counting rows per SR_INSTANCE_ID to confirm that a collection run loaded the expected number of trading partner sites.
- Reporting: joining to planning tables to attribute plan output back to source operating units and companies using OPERATING_UNIT and SR_COMPANY_ID.
Related Objects
The table is classified as standalone, with no documented foreign keys to other objects. In practice it is referenced conceptually alongside the following planning and collection objects, joined through the columns noted:
- MSC_TP_SITES — the trading partner site planning entity, joined on TP_SITE_ID.
- MSC_SYSTEM_ITEMS and planning item tables — joined indirectly through source and location identifiers.
- MSC_SR_INSTANCES — the source instance registry, joined on SR_INSTANCE_ID.
- MSC_PARTNER_TYPES — the partner type reference, joined on PARTNER_TYPE.
- MSC_COLLECTION_* collection program tables — used together during load and reconciliation.
Because the table is maintained exclusively by the collection program, it should not be updated directly; corrections must be driven through re-collection of the affected source instance.
-
Table: MSC_TP_SITE_ID_LID
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_TP_SITE_ID_LID, object_name:MSC_TP_SITE_ID_LID, status:VALID, product: MSC - Advanced Supply Chain Planning , description: This table is used by the collection program to maintain the correspondence between the source instances identifiers and the planning identifiers for trading partner sites. , implementation_dba_data: MSC.MSC_TP_SITE_ID_LID ,
-
Table: MSC_TP_SITE_ID_LID
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_TP_SITE_ID_LID, object_name:MSC_TP_SITE_ID_LID, status:VALID, product: MSC - Advanced Supply Chain Planning , description: This table is used by the collection program to maintain the correspondence between the source instances identifiers and the planning identifiers for trading partner sites. , implementation_dba_data: MSC.MSC_TP_SITE_ID_LID ,
-
VIEW: MSC.MSC_TP_SITE_ID_LID#
12.2.2
owner:MSC, object_type:VIEW, object_name:MSC_TP_SITE_ID_LID#, status:VALID,
-
VIEW: MSC.MSC_TP_SITE_ID_LID#
12.2.2
-
SYNONYM: APPS.MSC_TP_SITE_ID_LID
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MSC_TP_SITE_ID_LID, status:VALID,
-
MATERIALIZED VIEW: APPS.MSC_PHUB_CUSTOMERS_MV
12.1.1
-
SYNONYM: APPS.MSC_TP_SITE_ID_LID
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_TP_SITE_ID_LID, status:VALID,
-
TABLE: MSC.MSC_TP_SITE_ID_LID
12.1.1
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_TP_SITE_ID_LID, object_name:MSC_TP_SITE_ID_LID, status:VALID,
-
TABLE: MSC.MSC_TP_SITE_ID_LID
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_TP_SITE_ID_LID, object_name:MSC_TP_SITE_ID_LID, status:VALID,
-
MATERIALIZED VIEW: APPS.MSC_PHUB_SUPPLIERS_MV
12.1.1
-
View: MSC_SCATP_ITEM_SR_LEVELS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_SCATP_ITEM_SR_LEVELS_V, object_name:MSC_SCATP_ITEM_SR_LEVELS_V, status:VALID, product: MSC - Advanced Supply Chain Planning , implementation_dba_data: APPS.MSC_SCATP_ITEM_SR_LEVELS_V ,
-
VIEW: APPS.MSD_DEM_SCN_ENTRIES_V
12.2.2
-
VIEW: APPS.MSD_DEM_SCN_ENTRIES_V
12.1.1
-
View: MSC_SCATP_ITEM_SR_LEVELS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:MSC.MSC_SCATP_ITEM_SR_LEVELS_V, object_name:MSC_SCATP_ITEM_SR_LEVELS_V, status:VALID, product: MSC - Advanced Supply Chain Planning , implementation_dba_data: APPS.MSC_SCATP_ITEM_SR_LEVELS_V ,
-
VIEW: APPS.MSC_SCATP_ITEM_SR_LEVELS_V
12.1.1
-
VIEW: APPS.MSC_SCATP_ITEM_SR_LEVELS_V
12.2.2
-
APPS.MSC_WF_ALLOC_ATP SQL Statements
12.1.1
-
APPS.MSC_WF_ALLOC_ATP SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_WF_ALLOC_ATP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WF_ALLOC_ATP, status:VALID,
-
VIEW: APPS.MSC_ORGCUSTOMER_SHIP_METHODS_V
12.2.2
-
PACKAGE BODY: APPS.MSC_WF_ALLOC_ATP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WF_ALLOC_ATP, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_MISCELLANEOUS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_MISCELLANEOUS, status:VALID,
-
APPS.MSC_CL_SETUP_ODS_LOAD SQL Statements
12.1.1
-
PACKAGE BODY: APPS.MSD_SCE_RECEIVE_FORECAST_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_SCE_RECEIVE_FORECAST_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_WS_APS_DATA_SERVICES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WS_APS_DATA_SERVICES, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_UTIL, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_UTIL, status:VALID,
-
PACKAGE BODY: APPS.MSD_SCE_RECEIVE_FORECAST_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_SCE_RECEIVE_FORECAST_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_CUST_FACING_RELEASE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_CUST_FACING_RELEASE, status:VALID,
-
PACKAGE BODY: APPS.MSD_DEM_COMMON_UTILITIES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DEM_COMMON_UTILITIES, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_CUST_FACING_RELEASE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_CUST_FACING_RELEASE, status:VALID,
-
PACKAGE BODY: APPS.MSC_WS_APS_DATA_SERVICES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_WS_APS_DATA_SERVICES, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_MISCELLANEOUS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_MISCELLANEOUS, status:VALID,
-
VIEW: APPS.MSC_ORGCUSTOMER_SHIP_METHODS_V
12.1.1
-
APPS.MSC_CL_SETUP_ODS_LOAD SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_SUPPLIER_RESP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_SUPPLIER_RESP, status:VALID,
-
PACKAGE BODY: APPS.MSD_SCE_PUBLISH_FORECAST_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_SCE_PUBLISH_FORECAST_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_SUPPLY_ODS_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_SUPPLY_ODS_LOAD, status:VALID,
-
VIEW: APPS.MSC_PHUB_SUPPLIERS_MV#
12.2.2
-
PACKAGE BODY: APPS.MSD_SCE_PUBLISH_FORECAST_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_SCE_PUBLISH_FORECAST_PKG, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_SUPPLIER_RESP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_SUPPLIER_RESP, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_ITEM_ODS_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_ITEM_ODS_LOAD, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_SUPPLY_ODS_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_SUPPLY_ODS_LOAD, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_24X7
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_24X7, status:VALID,
-
PACKAGE BODY: APPS.MSD_DEM_COMMON_UTILITIES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_DEM_COMMON_UTILITIES, status:VALID,
-
PACKAGE BODY: APPS.MSC_X_REPLENISH
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_X_REPLENISH, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_SCE_COLLECTION
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_SCE_COLLECTION, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_FUNC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_FUNC, status:VALID,
-
PACKAGE BODY: APPS.MSC_ATP_FUNC
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_ATP_FUNC, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_ITEM_ODS_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_ITEM_ODS_LOAD, status:VALID,