MNT_WO_DOC_REFERENCES
The document reference for which the maintenance work order is acted upon is persisted in this table.
Details
-
Schema: FUSION
-
Object owner: MNT
-
Object type: TABLE
-
Tablespace: Default
Primary Key
Name | Columns |
---|---|
MNT_WO_DOC_REFS_PK |
DOC_REF_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
DOC_REF_ID | NUMBER | 18 | Yes | The unique system generated system identifier. | |
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. | |
WORK_ORDER_ID | NUMBER | 18 | Yes | The work order identifier. The foreign key to the Work Order entity. | |
SRC_SYSTEM_TYPE_CODE | VARCHAR2 | 30 | The source system type code. This value is ORA_FUSION for any document references that are from the fusion application. | ||
SRC_SYSTEM_ID | NUMBER | 18 | The application id reference of the source application. | ||
DOC_TYPE_CODE | VARCHAR2 | 30 | The document type code. This comes from the lookup ORA_CSE_DOCUMENT_TYPE. | ||
DOC_HEADER_ID | NUMBER | 18 | The header identifier of the document. | ||
DOC_NUMBER | VARCHAR2 | 255 | The user key of the document at the header level. | ||
DOC_LINE_ID | NUMBER | 18 | The line identifier of the document. | ||
DOC_LINE_NUMBER | VARCHAR2 | 80 | The user key of the document at the line level. | ||
DOC_SUB_LINE_ID | NUMBER | 18 | The sub line identifier of the document. | ||
DOC_SUB_LINE_NUMBER | VARCHAR2 | 80 | The user key of the document at the sub line level. | ||
DOC_SUB_LINE_LVL1_ID | NUMBER | 18 | If the document is identified by more than three levels, then the identifier at that level is stored here. | ||
DOC_SUB_LINE_LVL1_NUMBER | VARCHAR2 | 80 | The user key of the document at the sub line level1. | ||
DOC_SUB_LINE_LVL2_ID | NUMBER | 18 | If the document is identified by more than four levels, then the identifier at that level is stored here. | ||
DOC_SUB_LINE_LVL2_NUMBER | VARCHAR2 | 80 | The user key of the document at the sub line level2. | ||
SRC_REF_ID | NUMBER | 18 | A source application writing this record can kep a reference id here for any tie back. | ||
ACTIVE_END_DATE | DATE | The date when the document reference is made inactive. We do not delete a record, instead we always deactivate. | |||
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. | ||
REQUEST_ID | NUMBER | 18 | Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row. | ||
JOB_DEFINITION_NAME | VARCHAR2 | 100 | Enterprise Service Scheduler: indicates the name of the job that created or last updated the row. | ||
JOB_DEFINITION_PACKAGE | VARCHAR2 | 900 | Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
MNT_WO_DOC_REFS_N01 | Non Unique | Default | WORK_ORDER_ID |
MNT_WO_DOC_REFS_N02 | Non Unique | Default | DOC_TYPE_CODE, DOC_HEADER_ID, DOC_LINE_ID, DOC_SUB_LINE_ID |
MNT_WO_DOC_REFS_U01 | Unique | Default | DOC_REF_ID |