MSS_ORG_RESOURCE_RELATIONSHIPS
This table stores the upstream and downstream resource relationship data per an organization.
Details
-
Schema: FUSION
-
Object owner: MSS
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MSS_ORG_RESOURCE_RELATIONS_PK |
RELATIONSHIP_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
ORGANIZATION_ID | NUMBER | 18 | Yes | Identifier of the organization. | |
RELATIONSHIP_ID | NUMBER | 18 | Yes | Unique relationship ID that is sequence-generated. | |
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) | ||
UPSTREAM_WORK_CENTER_CODE | VARCHAR2 | 100 | Indicates upstream work center code. | ||
UPSTREAM_RESOURCE_CODE | VARCHAR2 | 300 | Indicates upstream resource code. | ||
UPSTREAM_WORK_CENTER_NAME | VARCHAR2 | 120 | Display name of the upstream work center (translatable). | ||
UPSTREAM_RESOURCE_NAME | VARCHAR2 | 120 | Display name of the upstream equipment or labor resource (translatable). | ||
UPSTREAM_GROUP_ID | NUMBER | 18 | Reference to group ID (mutually exclusive with UPSTREAM_RESOURCE_ID); foreign key to MSS_ORG_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) | ||
DOWNSTREAM_WORK_CENTER_CODE | VARCHAR2 | 100 | Indicates downstream work center code. | ||
DOWNSTREAM_RESOURCE_CODE | VARCHAR2 | 300 | Indicates downstream resource code. | ||
DOWNSTREAM_WORK_CENTER_NAME | VARCHAR2 | 120 | Display name of the downstream work center (translatable). | ||
DOWNSTREAM_RESOURCE_NAME | VARCHAR2 | 120 | Display name of the downstream equipment or labor resource (translatable). | ||
DOWNSTREAM_GROUP_ID | NUMBER | 18 | Reference to group ID (mutually exclusive with DOWNSTREAM_RESOURCE_ID); foreign key to MSS_ORG_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_ORG_RESOURCE_RELATIONSHIPS | mss_org_groups | UPSTREAM_GROUP_ID |
MSS_ORG_RESOURCE_RELATIONSHIPS | mss_org_groups | DOWNSTREAM_GROUP_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MSS_ORG_RESOURCE_RELATIONS_N1 | Non Unique | Default | UPSTREAM_GROUP_ID |
MSS_ORG_RESOURCE_RELATIONS_N2 | Non Unique | Default | DOWNSTREAM_GROUP_ID |
MSS_ORG_RESOURCE_RELATIONS_U1 | Unique | Default | RELATIONSHIP_ID |
MSS_ORG_RESOURCE_RELATIONS_U2 | Unique | Default | UPSTREAM_WORK_CENTER_ID, UPSTREAM_RESOURCE_ID, UPSTREAM_GROUP_ID, DOWNSTREAM_WORK_CENTER_ID, DOWNSTREAM_RESOURCE_ID, DOWNSTREAM_GROUP_ID |