MSS_RESOURCE_RELATIONSHIPS

This table stores the upstream and downstream resource relationship data.

Details

  • Schema: FUSION

  • Object owner: MSS

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

MSS_RESOURCE_RELATIONSHIPS_PK

PLAN_ID, RELATIONSHIP_ID

Columns

Name Datatype Length Precision Not-null Comments
PLAN_ID NUMBER 18 Yes Identifier of the Production Scheduling plan.
RELATIONSHIP_ID NUMBER 18 Yes Relationship ID that gets copied over from MSS_ORG_RESOURCE_RELATIONSHIPS.
UPSTREAM_WORK_CENTER_ID NUMBER 18 Work center ID of upstream resource.
UPSTREAM_RESOURCE_ID NUMBER 18 Reference to resource ID from resource table (mutually exclusive with UPSTREAM_GROUP_ID); foreign key to MSS_RESOURCES
UPSTREAM_GROUP_ID NUMBER 18 Reference to group ID (mutually exclusive with UPSTREAM_RESOURCE_ID); foreign key to MSS_GROUPS
DOWNSTREAM_WORK_CENTER_ID NUMBER 18 Work center ID of downstream resource.
DOWNSTREAM_RESOURCE_ID NUMBER 18 Reference to resource ID from resource table (mutually exclusive with DOWNSTREAM_GROUP_ID); foreign key to MSS_RESOURCES
DOWNSTREAM_GROUP_ID NUMBER 18 Reference to group ID (mutually exclusive with DOWNSTREAM_RESOURCE_ID); foreign key to MSS_GROUPS
DIRECT_ONLY VARCHAR2 1 Direct feed only between upstream and downstream resources (Y/N)?
RANK NUMBER 5 rank of the resource relationship record
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
MSS_RESOURCE_RELATIONSHIPS mss_resources PLAN_ID, UPSTREAM_WORK_CENTER_ID, UPSTREAM_RESOURCE_ID
MSS_RESOURCE_RELATIONSHIPS mss_groups PLAN_ID, UPSTREAM_GROUP_ID
MSS_RESOURCE_RELATIONSHIPS mss_resources PLAN_ID, DOWNSTREAM_WORK_CENTER_ID, DOWNSTREAM_RESOURCE_ID
MSS_RESOURCE_RELATIONSHIPS mss_groups PLAN_ID, DOWNSTREAM_GROUP_ID

Indexes

Index Uniqueness Tablespace Columns
MSS_RESOURCE_RELATIONSHIPS_N1 Non Unique Default PLAN_ID, UPSTREAM_GROUP_ID
MSS_RESOURCE_RELATIONSHIPS_N2 Non Unique Default PLAN_ID, DOWNSTREAM_WORK_CENTER_ID, DOWNSTREAM_RESOURCE_ID
MSS_RESOURCE_RELATIONSHIPS_N3 Non Unique Default PLAN_ID, DOWNSTREAM_GROUP_ID
MSS_RESOURCE_RELATIONSHIPS_U1 Unique Default PLAN_ID, RELATIONSHIP_ID
MSS_RESOURCE_RELATIONSHIPS_U2 Unique Default PLAN_ID, UPSTREAM_WORK_CENTER_ID, UPSTREAM_RESOURCE_ID, UPSTREAM_GROUP_ID, DOWNSTREAM_WORK_CENTER_ID, DOWNSTREAM_RESOURCE_ID, DOWNSTREAM_GROUP_ID