PSC_COM_ATTACHMENT
This table contains attachment data. This is the central repository for attachment data for PSC.
Details
-
Schema: FUSION
-
Object owner: PSC_CC
-
Object type: TABLE
-
Tablespace: TRANSACTION_TABLES
Primary Key
| Name | Columns |
|---|---|
|
PSC_COM_ATTACHMENT_PK |
ATTACHMENT_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments | Status |
|---|---|---|---|---|---|---|
| ATTACHMENT_ID | NUMBER | 18 | Yes | This column is used to indicate attachment id | Active | |
| FILE_NAME | VARCHAR2 | 255 | Yes | This column is used to indicate file name | Active | |
| DESCRIPTION | VARCHAR2 | 100 | This column is used to indicate description | Active | ||
| VERSION | NUMBER | 4 | Yes | This column is used to indicate version | Active | |
| FILE_SIZE | NUMBER | 18 | Yes | This column is used to indicate file size | Active | |
| FILE_TYPE | VARCHAR2 | 100 | This column is used to indicate file type | Active | ||
| 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. | Active | |
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | Active | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | Active | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | Active | |
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | Active | ||
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | Active | ||
| AGENCY_ID | NUMBER | 8 | Yes | This column is used to indicate agency id | Active | |
| ATTACHMENT_TYPE | VARCHAR2 | 15 | Attribute identifying the product attachment type associated with the row. | |||
| REQUIRED_FLAG | VARCHAR2 | 1 | Yes | Indicates if an attachment is a required document. | ||
| CONFIDENTIAL_FLAG | VARCHAR2 | 1 | Yes | Indicates if an attachment is a confidential document. | ||
| FILE_CONTENT_UPLOADED_FLAG | VARCHAR2 | 1 | Yes | Indicates if an attachments file contents have been uploaded. | ||
| PREVIEW_WIDTH | NUMBER | 8 | This column indicates the width of a stored thumbnail. | |||
| PREVIEW_HEIGHT | NUMBER | 8 | This column indicates the height of a stored thumbnail. | |||
| PREVIEW | BLOB | This column contains the thumbnail of an attached file. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| psc_pbl_am_attachment | psc_com_attachment | ATTACHMENT_ID |
| psc_com_bus_attachment | psc_com_attachment | ATTACHMENT_ID |
| psc_com_cntrctr_lic_atch | psc_com_attachment | ATTACHMENT_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns | Status |
|---|---|---|---|---|
| PSC_COM_ATTACHMENT_PK | Unique | FUSION_TS_TX_IDX | ATTACHMENT_ID | Active |