Search Results msc_st_visits
Overview
MSC_ST_VISITS is a staging table within the MSC schema (Advanced Supply Chain Planning) in Oracle EBS 12.1.1 and 12.2.2. In the Oracle Advanced Supply Chain Planning collection architecture, the MSC_ST_* family of tables serves as the transient landing zone for source data extracted from external and adjacent EBS modules before it is validated, transformed, and loaded into the planning engine's operational tables. MSC_ST_VISITS specifically stages visit, appointment, and scheduling-related records sourced from the Oracle Advanced Scheduler / visits model, exposing 30 documented columns in the 12.2.2 schema.
The table carries a heuristic Data Vault classification of standalone, meaning the FK-mining process identified no inbound or outbound parent-child relationships among the MSC planning tables other than a single reference to AHL_VISITS_B. In Data Vault terms this suggests the object behaves as a staging or standalone satellite rather than a true hub or link; it is best modeled as an append-only staging artifact keyed by a surrogate identifier rather than as a durable business entity.
Key Information Stored
The surrogate primary key is VISIT_ID, which also functions as the foreign-key bridge to AHL_VISITS_B.VISIT_ID, the visits base table. Natural business-key candidates visible in the schema include VISIT_NAME and VISIT_NUMBER, both of which are conventionally unique within a source instance and are typically qualified by SR_INSTANCE_CODE or the surrogate SR_INSTANCE_ID to enforce cross-instance uniqueness.
VISIT_ID— surrogate primary key and join key to AHL_VISITS_B.VISIT_NAME,VISIT_DESC,VISIT_NUMBER— descriptive identity attributes of the staged visit.ORGANIZATION_CODE,ORGANIZATION_ID— the inventory/planning organization context for the visit.VISIT_START_DATE,VISIT_END_DATE— the effective time window of the visit, critical for capacity and scheduling logic.VISIT_TYPE,VISIT_PRIORITY,VISIT_STATUS— classification and lifecycle state of the staged record.SR_INSTANCE_CODE,SR_INSTANCE_ID— source system/instance identifiers used to scope and deduplicate inbound data.DATA_SOURCE_TYPE,ST_TRANSACTION_ID,BATCH_ID— lineage and batch-control columns for load tracking.PROCESS_FLAG,ERROR_TEXT,MESSAGE_ID— processing status and error disposition populated by the collection/validation program.REFRESH_ID,REQUEST_ID,PROGRAM_ID,PROGRAM_APPLICATION_ID— concurrent program and refresh-run identifiers.DELETED_FLAG— logical-delete indicator used during incremental collection.
Standard audit columns CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN are present as expected for an EBS-owned staging table.
Common Use Cases and Queries
The dominant use case is diagnosing collection failures. Planners and technical consultants query rows where PROCESS_FLAG indicates error status to inspect ERROR_TEXT and MESSAGE_ID:
SELECT VISIT_ID, VISIT_NAME, PROCESS_FLAG, ERROR_TEXT FROM MSC_ST_VISITS WHERE PROCESS_FLAG = 'E';- Scoping a refresh run:
SELECT * FROM MSC_ST_VISITS WHERE REFRESH_ID = :refresh_id; - Reconciling staged data against the base table on
VISIT_IDto confirm successful load. - Reporting on visit volume by
ORGANIZATION_CODEandVISIT_STATUSwithin a date range usingVISIT_START_DATE.
Batch-level auditing uses BATCH_ID and ST_TRANSACTION_ID to trace which extraction job produced a given row.
Related Objects
The documented FK relationship anchors this object to the Oracle Advanced Scheduler base table:
AHL_VISITS_B— joined onMSC_ST_VISITS.VISIT_ID = AHL_VISITS_B.VISIT_ID; the authoritative source of visit records.- Adjacent
MSC_ST_*staging siblings (for organizations, resources, and scheduling data) loaded by the same collection programs. - MSC planning operational tables that receive promoted visit data after validation.
- EBS concurrent program and refresh metadata objects referenced by
REQUEST_ID,PROGRAM_ID, andREFRESH_ID.
Because the heuristic classification is standalone, no other MSC-resident parent or child tables were mined; integrations should rely on the documented AHL_VISITS_B link and the surrogate VISIT_ID as the stable correlation key.
-
Table: MSC_ST_VISITS
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_VISITS, object_name:MSC_ST_VISITS, status:VALID, product: MSC - Advanced Supply Chain Planning , implementation_dba_data: MSC.MSC_ST_VISITS ,
-
SYNONYM: APPS.MSC_ST_VISITS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MSC_ST_VISITS, status:VALID,
-
VIEW: MSC.MSC_ST_VISITS#
12.2.2
owner:MSC, object_type:VIEW, object_name:MSC_ST_VISITS#, status:VALID,
-
TABLE PARTITION: MSC.MSC_ST_VISITS
12.2.2
owner:MSC, object_type:TABLE PARTITION, object_name:MSC_ST_VISITS, subobject_name:ST_VISITS_LEG, status:VALID,
-
TABLE: MSC.MSC_ST_VISITS
12.2.2
owner:MSC, object_type:TABLE, fnd_design_data:MSC.MSC_ST_VISITS, object_name:MSC_ST_VISITS, status:VALID,
-
VIEW: MSC.MSC_ST_VISITS#
12.2.2
-
Lookup Type: MSC_X_SETUP_ENTITY_CODE
12.2.2
product: MSC - Advanced Supply Chain Planning , meaning: MSC_ST_DEMANDS ,
-
PACKAGE BODY: APPS.MSC_CL_AHL_ODS_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_AHL_ODS_LOAD, status:VALID,
-
Lookup Type: MSC_STAGING_TABLE
12.2.2
product: MSC - Advanced Supply Chain Planning , meaning: MSC_STAGING_TABLE , description: List of staging tables used by Collections ,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_OTHER_ODS_LOAD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_OTHER_ODS_LOAD, status:VALID,
-
PACKAGE BODY: APPS.MSC_CL_PRE_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:MSC_CL_PRE_PROCESS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_CL_AHL_PULL SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_AHL_PULL
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_CL_AHL_ODS_LOAD SQL Statements
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_VISITS
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_CL_OTHER_ODS_LOAD dependencies on MSC_ST_VISITS
12.2.2
-
APPS.MSC_CL_AHL_ODS_LOAD dependencies on MSC_ST_VISITS
12.2.2
-
APPS.MSC_CL_OTHER_ODS_LOAD SQL Statements
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_AHL_ODS_LOAD
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_VISIT_ID_S
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_VISITS_S
12.2.2
-
APPS.MSC_CL_PRE_PROCESS SQL Statements
12.2.2
-
APPS.MSC_CL_AHL_PULL dependencies on MSC_UTIL
12.2.2
-
APPS.MSC_CL_AHL_PULL dependencies on MSC_CL_PULL
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_OTHER_ODS_LOAD
12.2.2
-
PACKAGE BODY: APPS.MSC_CL_PRE_PROCESS
12.2.2
-
APPS.MSC_CL_AHL_ODS_LOAD dependencies on MSC_UTIL
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_LOCAL_ID_SETUP
12.2.2
-
eTRM - MSC Tables and Views
12.2.2
description: This table contains the mapping between user-defined zone and included regions ,
-
APPS.MSC_CL_PRE_PROCESS dependencies on DUAL
12.2.2
-
APPS.MSC_CL_AHL_ODS_LOAD dependencies on MSC_CL_COLLECTION
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.MSC_CL_OTHER_ODS_LOAD dependencies on MSC_UTIL
12.2.2
-
APPS.MSC_CL_PRE_PROCESS dependencies on MSC_ST_UTIL
12.2.2
-
APPS.MSC_CL_OTHER_ODS_LOAD dependencies on MSC_CL_COLLECTION
12.2.2
-
eTRM - MSC Tables and Views
12.2.2
description: This table contains the mapping between user-defined zone and included regions ,