Skip to main content
Mitratech Success Center

Document

The system object Documents tables include:

  • WH_DOCUMENT
  • WH_DOCUMENT_CATEGORIES
  • WH_DOCUMENT_GROUP_ACCESS*
  • WH_DOCUMENT_USER_ACCESS*
  • WH_DOCUMENT_SECURITY
  • WH_DOCUMENT_WORKFLOW
  • WH_DOCUMENT_WORKFLOW_HISTORY
  • WH_DOCUMENT_WORKFLOW_RECIPIENT
  • WH_DOCUMENT_WORKFLOW_REVIEW

* These tables support the user access and security feature and should not be queried directly.

WH_DOCUMENT

Column Name

Oracle Data Type

MSSQL Data Type

DOCUMENT_PRIMARY_KEY

NUMBER

INT

DOCUMENT_SIZE

NUMBER

INT

DOCUMENT_NAME

VARCHAR2(250)

VARCHAR(250)

DOCUMENT_TREE_KEY

VARCHAR2(700)

VARCHAR(700)

DOCUMENT_CATEGORY

VARCHAR2(50)

VARCHAR(50)

DOCUMENT_CATEGORY_TREE

VARCHAR2(250)

VARCHAR(250)

DOCUMENT_URL_STRING

VARCHAR2(2000)

VARCHAR(2000)

DOCUMENT_TYPE

VARCHAR2(9)

VARCHAR(9)

DOCUMENT_FILE_TYPE

VARCHAR2(50)

VARCHAR(50)

DOCUMENT_IS_EMAIL_FOLDER

VARCHAR2(3)

VARCHAR(3)

DOCUMENT_AUTHOR_DATE

DATE

DATETIME

DOCUMENT_VERSION

VARCHAR2(250)

VARCHAR(250)

PARENT_FOLDER_ID

NUMBER

INT

DOCUMENT_LOCATION

VARCHAR2(4000)

VARCHAR(4000)

SHORTCUT_TO_DOCUMENT_ID

NUMBER

INT

SHORTCUT_TO_DOCUMENT

VARCHAR2(250)

VARCHAR(250)

AUTHOR_CONTACT_PK

NUMBER

INT

AUTHOR_CONTACT_TYPE

VARCHAR2(10)

VARCHAR(10)

AUTHOR_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

AUTHOR_CONTACT_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

AUTHOR_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

CHECKED_OUT_ON

DATE

DATETIME

CHECK_OUT_CONTACT_PK

NUMBER

INT

CHECK_OUT_CONTACT_TYPE

VARCHAR2(10)

VARCHAR(10)

CHECK_OUT_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

CHECK_OUT_CONTACT_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

CHECK_OUT_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

CHECKOUT_LOCATION

VARCHAR2(250)

VARCHAR(250)

CHECKED_IN_ON

DATE

DATETIME

CHECK_IN_CONTACT_PK

NUMBER

INT

CHECK_IN_CONTACT_TYPE

VARCHAR2(10)

VARCHAR(10)

CHECK_IN_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

CHECK_IN_CONTACT_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

CHECK_IN_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

CREATED_ON

DATE

DATETIME

CREATED_BY_CONTACT_PK

NUMBER

INT

CREATED_BY_CONTACT_TYPE

VARCHAR2(10)

VARCHAR(10)

CREATED_BY_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

CREATED_BY_CONTACT_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

CREATED_BY_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

MODIFIED_ON

DATE

DATETIME

MODIFIED_BY_CONTACT_PK

NUMBER

INT

MODIFIED_BY_CONTACT_TYPE

VARCHAR2(10)

VARCHAR(10)

MODIFIED_BY_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

MODIFIED_BY_CONTACT_MID_NAME

VARCHAR2(50)

VARCHAR(50)

MODIFIED_BY_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

BEHALF_OF_CONTACT_PRIMARY_KEY

NUMBER

INT

SECURITY

VARCHAR2(10)

VARCHAR(10)

WORKFLOW_CURRENT_STATUS

VARCHAR2(15)

VARCHAR(15)

WORKFLOW_CURRENT_ACTION

VARCHAR2(50)

VARCHAR(50)

NOTES

CLOB

NTEXT

CURRENT_APPROVER_CONTACT_PK

NUMBER

INT

CURRENT_APPROVER_NAME

VARCHAR2(250)

VARCHAR(250)

CURRENT_APPROVER_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

CURRENT_APPROVER_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

CURRENT_APPROVER_TYPE

VARCHAR2(7)

VARCHAR(7)

LAST_PERFRMR_CONTACT_PK

NUMBER

INT

LAST_PERFRMR_NAME

VARCHAR2(250)

VARCHAR(250)

LAST_PERFRMR_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

LAST_PERFRMR_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

LAST_PERFRMR_TYPE

VARCHAR2(7)

VARCHAR(7)

MULTIPLE_APPROVERS

VARCHAR2(3)

VARCHAR(3)

DOCUMENT_AUTHOR_DATE_KEY

DATE

DATETIME

CHECKED_OUT_ON_DATE_KEY

DATE

DATETIME

CHECKED_IN_ON_DATE_KEY

DATE

DATETIME

CREATED_ON_DATE_KEY

DATE

DATETIME

MODIFIED_ON_DATE_KEY

DATE

DATETIME

WH_DOCUMENT_CATEGORIES

Column Name

Oracle Data Type

MSSQL Data Type

CATEGORY_NAME

VARCHAR2(50)

VARCHAR(50)

CATEGORY_TREE_POSITION

VARCHAR2(250)

VARCHAR(250)

DOCUMENT_FILE_TYPE

VARCHAR2(50)

VARCHAR(50)

DOCUMENT_LOCATION

VARCHAR2(4000)

VARCHAR(4000)

DOCUMENT_NAME

VARCHAR2(250)

VARCHAR(250)

DOCUMENT_PRIMARY_KEY

NUMBER

INT

DOCUMENT_TREE_KEY

VARCHAR2(700)

VARCHAR(700)

IS_CATEGORY_MANUALLY_ADDED

VARCHAR2(1)

VARCHAR(1)

IS_DEFAULT_CATEGORY

VARCHAR2(5)

VARCHAR(5)

SECURITY

VARCHAR2(10)

VARCHAR(10)

WH_DOCUMENT_GROUP_ACCESS

Column Name

Oracle Data Type

MSSQL Data Type

DOCUMENT_PRIMARY_KEY

NUMBER

INT

GROUP_PRIMARY_KEY

NUMBER

INT

ALLOW_DENY_IID

CHAR(1)

CHAR(1)

OPERATION_IID

NUMBER

INT

IS_MANUAL

NUMBER

INT

VERSION

NUMBER

INT

WH_DOCUMENT_USER_ACCESS

Column Name

Oracle Data Type

MSSQL Data Type

DOCUMENT_PRIMARY_KEY

NUMBER

INT

USER_PRIMARY_KEY

NUMBER

INT

ALLOW_DENY_IID

CHAR(1)

CHAR(1)

OPERATION_IID

NUMBER

INT

IS_MANUAL

NUMBER

INT

VERSION

NUMBER

INT

WH_DOCUMENT_SECURITY

Column Name

Oracle Data Type

MSSQL Data Type

DOCUMENT_PRIMARY_KEY

NUMBER

INT

CREATED_BY_CONTACT_PK

NUMBER

INT

SECURITY

NVARCHAR2(10)

NVARCHAR(10)

WH_DOCUMENT_WORKFLOW

Column Name

Oracle Data Type

MSSQL Data Type

DOCUMENT_PRIMARY_KEY

NUMBER

INT

DOCUMENT_NAME

VARCHAR2(250)

VARCHAR(250)

DOCUMENT_TREE_KEY

VARCHAR2(700)

VARCHAR(700)

DOCUMENT_FILE_TYPE

VARCHAR2(50)

VARCHAR(50)

WORKFLOW_PRIMARY_KEY

NUMBER

INT

REQUEST_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_CONTACT_PK

NUMBER

INT

REQUESTED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

REQUESTED_BY_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_NAME

VARCHAR2(250)

VARCHAR(250)

REQUESTED_ON

DATE

DATETIME

COMPLETED_ON

DATE

DATETIME

WORKFLOW_STATUS

VARCHAR2(30)

VARCHAR(30)

COMMENT_TO_REQUESTOR

VARCHAR2(2000)

VARCHAR(2000)

EXPIRES_ON

DATE

DATETIME

EXPIRE_ACTION

VARCHAR2(30)

VARCHAR(30)

TRANSACTION_STATUS

VARCHAR2(250)

VARCHAR(250)

CURRENT_STOP_NO

NUMBER

INT

REJECT_ACTION

VARCHAR2(30)

VARCHAR(30)

REJECT_REASON

VARCHAR2(50)

VARCHAR(50)

UPDATE_WHILE_PENDING

VARCHAR2(105)

VARCHAR(105)

PROCESS_MANAGER_CONTACT_PK

NUMBER

INT

PROCESS_MANAGER_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

PROCESS_MANAGER_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

PROCESS_MANAGER_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

PROCESS_MANAGER_NAME

VARCHAR2(250)

VARCHAR(250)

STOP_MEMBER_PRIMARY_KEY

NUMBER

INT

STOP_PRIMARY_KEY

NUMBER

INT

STOP

NUMBER

INT

PERFORMER_CONTACT_PK

NUMBER

INT

PERFORMER_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

PERFORMER_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

PERFORMER_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

PERFORMER_NAME

VARCHAR2(250)

VARCHAR(250)

STOP_STATUS

VARCHAR2(40)

VARCHAR(40)

ACTION_DATE

DATE

DATETIME

STOP_EXPIRATION_DATE

DATE

DATETIME

INTERNAL_COMMENT

VARCHAR2(2000)

VARCHAR(2000)

EMAIL_SENT

VARCHAR2(3)

VARCHAR(3)

CREATED_BY_CONTACT_PK

NUMBER

INT

CREATED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

CREATED_BY_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

CREATED_BY_CONTACT_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

CREATED_BY_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

CREATED_ON

DATE

DATETIME

MODIFIED_BY_CONTACT_PK

NUMBER

INT

MODIFIED_BY_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

MODIFIED_BY_CONTACT_MID_NAME

VARCHAR2(50)

VARCHAR(50)

MODIFIED_BY_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

MODIFIED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

MODIFIED_ON

DATE

DATETIME

WH_DOCUMENT_WORKFLOW_HISTORY

Column Name

Oracle Data Type

MSSQL Data Type

DOCUMENT_PRIMARY_KEY

NUMBER

INT

DOCUMENT_NAME

VARCHAR2(250)

VARCHAR(250)

DOCUMENT_TREE_KEY

VARCHAR2(700)

VARCHAR(700)

DOCUMENT_FILE_TYPE

VARCHAR2(50)

VARCHAR(50)

WORKFLOW_PRIMARY_KEY

NUMBER

INT

REQUEST_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_CONTACT_PK

NUMBER

INT

REQUESTED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

REQUESTED_BY_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_NAME

VARCHAR2(250)

VARCHAR(250)

REQUESTED_ON

DATE

DATETIME

COMPLETED_ON

DATE

DATETIME

WORKFLOW_STATUS

VARCHAR2(30)

VARCHAR(30)

COMMENT_TO_REQUESTOR

VARCHAR2(2000)

VARCHAR(2000)

EXPIRES_ON

DATE

DATETIME

EXPIRE_ACTION

VARCHAR2(30)

VARCHAR(30)

TRANSACTION_STATUS

VARCHAR2(250)

VARCHAR(250)

CURRENT_STOP_NO

NUMBER

INT

REJECT_ACTION

VARCHAR2(30)

VARCHAR(30)

REJECT_REASON

VARCHAR2(50)

VARCHAR(50)

UPDATE_WHILE_PENDING

VARCHAR2(105)

VARCHAR(105)

PROCESS_MANAGER_CONTACT_PK

NUMBER

INT

PROCESS_MANAGER_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

PROCESS_MANAGER_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

PROCESS_MANAGER_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

PROCESS_MANAGER_NAME

VARCHAR2(250)

VARCHAR(250)

ACTIVITY

VARCHAR2(250)

VARCHAR(250)

ACTION_DATE

DATE

DATETIME

INTERNAL_COMMENT

VARCHAR2(2000)

VARCHAR(2000)

CREATED_BY_CONTACT_PK

NUMBER

INT

CREATED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

CREATED_BY_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

CREATED_BY_CONTACT_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

CREATED_BY_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

CREATED_ON

DATE

DATETIME

MODIFIED_BY_CONTACT_PK

NUMBER

INT

MODIFIED_BY_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

MODIFIED_BY_CONTACT_MID_NAME

VARCHAR2(50)

VARCHAR(50)

MODIFIED_BY_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

MODIFIED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

MODIFIED_ON

DATE

DATETIME

WH_DOCUMENT_WORKFLOW_RECIPIENT

Column Name

Oracle Data Type

MSSQL Data Type

DOCUMENT_PRIMARY_KEY

NUMBER

INT

DOCUMENT_NAME

VARCHAR2(250)

VARCHAR(250)

DOCUMENT_TREE_KEY

VARCHAR2(700)

VARCHAR(700)

DOCUMENT_FILE_TYPE

VARCHAR2(50)

VARCHAR(50)

WORKFLOW_PRIMARY_KEY

NUMBER

INT

REQUEST_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_CONTACT_PK

NUMBER

INT

REQUESTED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

REQUESTED_BY_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_NAME

VARCHAR2(250)

VARCHAR(250)

REQUESTED_ON

DATE

DATETIME

COMPLETED_ON

DATE

DATETIME

WORKFLOW_STATUS

VARCHAR2(30)

VARCHAR(30)

EXPIRES_ON

DATE

DATETIME

CURRENT_STOP_NO

NUMBER

INT

PROCESS_MANAGER_CONTACT_PK

NUMBER

INT

PROCESS_MANAGER_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

PROCESS_MANAGER_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

PROCESS_MANAGER_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

PROCESS_MANAGER_NAME

VARCHAR2(250)

VARCHAR(250)

EVENT

VARCHAR2(250)

VARCHAR2(250)

RECIPIENT_CONTACT_PK

NUMBER

INT

RECIPIENT_CONTACT_TYPE

VARCHAR2(7)

VARCHAR2(7)

RECIPIENT_FIRST_NAME

VARCHAR2(50)

VARCHAR2(50)

RECIPIENT_MIDDLE_NAME

VARCHAR2(50)

VARCHAR2(50)

RECIPIENT_NAME

VARCHAR2(250)

VARCHAR2(250)

VERSION

NUMBER

INT

CREATED_ON

DATE

DATETIME

CREATED_BY_CONTACT_PK

NUMBER

INT

CREATED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR2(7)

CREATED_BY_CONTACT_NAME

VARCHAR2(250)

VARCHAR2(250)

CREATED_BY_CONTACT_MIDDLE_NAME

VARCHAR2(50)

VARCHAR2(50)

CREATED_BY_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR2(50)

MODIFIED_ON

DATE

DATETIME

MODIFIED_BY_CONTACT_PK

NUMBER

INT

MODIFIED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR2(7)

MODIFIED_BY_CONTACT_NAME

VARCHAR2(250)

VARCHAR2(250)

MODIFIED_BY_CONTACT_MID_NAME

VARCHAR2(50)

VARCHAR2(50)

WH_DOCUMENT_WORKFLOW_REVIEW

Column Name

Oracle Data Type

MSSQL Data Type

DOCUMENT_PRIMARY_KEY

NUMBER

INT

DOCUMENT_NAME

VARCHAR2(250)

VARCHAR(250)

DOCUMENT_TREE_KEY

VARCHAR2(700)

VARCHAR(700)

DOCUMENT_FILE_TYPE

VARCHAR2(50)

VARCHAR(50)

WORKFLOW_PRIMARY_KEY

NUMBER

INT

REQUEST_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_CONTACT_PK

NUMBER

INT

REQUESTED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

REQUESTED_BY_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

REQUESTED_BY_NAME

VARCHAR2(250)

VARCHAR(250)

REQUESTED_ON

DATE

DATETIME

COMPLETED_ON

DATE

DATETIME

WORKFLOW_STATUS

VARCHAR2(30)

VARCHAR(30)

EXPIRES_ON

DATE

DATETIME

CURRENT_STOP_NO

NUMBER

INT

PROCESS_MANAGER_CONTACT_PK

NUMBER

INT

PROCESS_MANAGER_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

PROCESS_MANAGER_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

PROCESS_MANAGER_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

PROCESS_MANAGER_NAME

VARCHAR2(250)

VARCHAR(250)

STOP_PRIMARY_KEY

NUMBER

INT

STOP

NUMBER

INT

STOP_MEMBER_PRIMARY_KEY

NUMBER

INT

STOP_STATUS

VARCHAR2(40)

VARCHAR(40)

EMAIL_SENT

VARCHAR2(3)

VARCHAR(3)

REVIEW_PRIMARY_KEY

NUMBER

INT

REVIEW_PERFORMER_CONTACT_PK

NUMBER

INT

REVIEW_PERFORMER_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

REVIEW_PERFORMER_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

REVIEW_PERFORMER_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

REVIEW_PERFORMER_NAME

VARCHAR2(250)

VARCHAR(250)

REVIEW_STATUS

VARCHAR2(20)

VARCHAR(20)

REVIEW_ACTION_DATE

DATE

DATETIME

REVIEW_APPROVAL_COMMENT

VARCHAR2(250)

VARCHAR(250)

REVIEW_REQUEST_COMMENT

VARCHAR2(250)

VARCHAR(250)

CREATED_ON

DATE

DATETIME

CREATED_BY_CONTACT_PK

NUMBER

INT

CREATED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

CREATED_BY_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

CREATED_BY_CONTACT_MIDDLE_NAME

VARCHAR2(50)

VARCHAR(50)

CREATED_BY_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

MODIFIED_ON

DATE

DATETIME

MODIFIED_BY_CONTACT_PK

NUMBER

INT

MODIFIED_BY_CONTACT_TYPE

VARCHAR2(7)

VARCHAR(7)

MODIFIED_BY_CONTACT_NAME

VARCHAR2(250)

VARCHAR(250)

MODIFIED_BY_CONTACT_MID_NAME

VARCHAR2(50)

VARCHAR(50)

MODIFIED_BY_CONTACT_FIRST_NAME

VARCHAR2(50)

VARCHAR(50)

  • Was this article helpful?