MSC_AVAILABLE_RES_HOURS
This table stores the resource capacity used in planning.
Details
-
Schema: FUSION
-
Object owner: MSC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MSC_AVAILABLE_RES_HOURS_PK |
PLAN_ID, TRANSACTION_ID, NEW_PLAN_ID, SIMULATION_SET_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments | Status |
---|---|---|---|---|---|---|
TRANSACTION_ID | NUMBER | 18 | Yes | Transaction identifier generated and used in the planning system for the supply/demand. | ||
REFRESH_NUMBER | NUMBER | 18 | Refresh identifier populated by the collection program. | |||
PLAN_ID | NUMBER | 18 | Yes | This value indicates the plan identifier for the record. | ||
DEPARTMENT_ID | NUMBER | 18 | Yes | Destination Department unique identifier. | ||
ORGANIZATION_ID | NUMBER | 18 | Yes | Destination Organization id where this resource and department exist | ||
RESOURCE_ID | NUMBER | 18 | Yes | Destination Resource unique identifier. | ||
SR_INSTANCE_ID | NUMBER | 18 | Yes | Identifier of the source system from where the data is collected. | Obsolete | |
AVAILABILITY_DATE | DATE | Yes | Date of availability of the resource | |||
DAILY_AVAILABILITY | NUMBER | Aggregate availability of resource for the day | ||||
AVAILABLE_UOM | VARCHAR2 | 3 | If this value is NULL, it means the availability is in Seconds. | |||
HOURS | NUMBER | Number of hours resource is available per day. | Obsolete | |||
NEW_PLAN_ID | NUMBER | 18 | Yes | NEW_PLAN_ID | ||
SIMULATION_SET_ID | NUMBER | 18 | Yes | Simulation set to which the current record is added. | ||
APPLIED | NUMBER | 18 | Flag to indicate whether this row contains changed row (this column is not collected) | |||
NEW_PLAN_LIST | VARCHAR2 | 256 | List indicates the new plan identifiers for the record. | |||
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. | |||
OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | ||
SIM_EDIT_FLAGS | NUMBER | 19 | Indicates which columns are edited in simulation set records |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MSC_AVAILABLE_RES_HOURS_N1 | Non Unique | Default | PLAN_ID, RESOURCE_ID, AVAILABILITY_DATE, NEW_PLAN_ID, SIMULATION_SET_ID |
MSC_AVAILABLE_RES_HOURS_U1 | Unique | Default | PLAN_ID, TRANSACTION_ID, NEW_PLAN_ID, SIMULATION_SET_ID |
MSC_AVAILABLE_RES_HOURS_U2 | Unique | Default | PLAN_ID, ORGANIZATION_ID, DEPARTMENT_ID, RESOURCE_ID, AVAILABILITY_DATE, NEW_PLAN_ID, SIMULATION_SET_ID |