FFS_ACTIVITY_MOVE_LOG
Stores a history of move, reschedule and reorder operations for activities.
Details
-
Schema: FUSION
-
Object owner: FFS
-
Object type: TABLE
-
Tablespace: DATA
Primary Key
Name | Columns |
---|---|
FFS_ACTIVITY_MOVE_LOG_PK |
LOG_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
LOG_ID | NUMBER | 19 | Yes | Unique identifier of the log record. | |
ACTIVITY_ID | NUMBER | 10 | Yes | Activity identifier of the moved activity. | |
ACTION_ID | NUMBER | 19 | Yes | Identifier of a parent action_log record. | |
ACTION_TIME | TIMESTAMP | Time of the action in GMT format. | |||
OPERATION_TIME | TIMESTAMP | Time when this operation is performed by user (GMT). | |||
TRANSACTION_ID | NUMBER | 19 | Sequential ID of transaction that defines an order of operations inside of the system. | ||
INTERFACE | NUMBER | 3 | Yes | Group of screens or a module the corresponding action has been invoked from. | |
SCREEN_ID | NUMBER | 10 | ID of the screen the action is performed from. | ||
USER_ID | NUMBER | 18 | Reference to user who performed move operation to ffs_user.user_id. | ||
USER_AGENT_ID | NUMBER | 8 | Reference to user agent identifier . | ||
SORTING_ORDER | NUMBER | 10 | Order of operation within the same batch. | ||
FROM_ROUTE_ID | NUMBER | 10 | Yes | Identifier of the origin route the activity was moved from. | |
FROM_PREVIOUS_ACTIVITY_ID | NUMBER | 10 | Yes | Position of the moved activity in the origin route. | |
TO_ROUTE_ID | NUMBER | 10 | Yes | Identifier of the destination route the activity was moved to. | |
TO_PREVIOUS_ACTIVITY_ID | NUMBER | 10 | Yes | Position of the moved activity in the destination route. | |
RESULT_CODE | NUMBER | 5 | Yes | Result of the activity move operation. | |
ACTIVITY_MASTER_ID | NUMBER | 10 | Master ID for multiday activity segment. | ||
MOVE_ACTIVITY_COMMAND_TYPE | NUMBER | 3 | There are commands: MoveAppt = 0, CreateMultidaySegment = 1, DeleteMultidaySegment = 2, ChangeDurationMultidaySegment = 3. | ||
FROM_WORK_LENGTH | NUMBER | 6 | Change activity duration from from_work_length. | ||
TO_WORK_LENGTH | NUMBER | 6 | Change activity duration to to_work_length. | ||
TRAVEL_ESTIMATION_METHOD | NUMBER | 3 | Travel estimation method (after move). | ||
PREV_TRAVEL_TIME | NUMBER | 5 | Travel time in minutes (before move). | ||
PREV_TRAVEL_ESTIMATION_METHOD | NUMBER | 3 | Travel estimation method (before move). | ||
MOVE_REASON_ID | NUMBER | 10 | Reference to move reason type . | ||
AUTOROUTED | DATE | Contains value of AUTO_ROUTED_TO_DATE from APPT table at the moment of move action. | |||
VIOLATIONS | NUMBER | 19 | Contain move action violations: APPT_WARNING_WORKZONE_MISMATCH (1 << 12) /* Move action: The destination provider has no an appropriate work zone for this appointment */ APPT_WARNING_WORKSKILL_MISMATCH (1 << 13) /* Move action: The destination provider has no an appropriate skill for this appointment. | ||
MOVE_REASON_CONDITION | NUMBER | 10 | MOVE_REASON_BUCKET_TO_RESOURCE (1 << 0) MOVE_REASON_RESOURCE_TO_RESOURCE (1 << 1) MOVE_REASON_RESOURCE_TO_BUCKET (1 << 2) MOVE_REASON_BUCKET_TO_BUCKET (1 << 3) MOVE_REASON_REORDERING_INSIDE_ROUTE (1 << 4). | ||
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. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
FFS_ACTIVITY_MOVE_LOG_N1 | Non Unique | DATA | ACTION_ID |
FFS_ACTIVITY_MOVE_LOG_N2 | Non Unique | DATA | ACTIVITY_ID |
FFS_ACTIVITY_MOVE_LOG_PK | Unique | DATA | LOG_ID |