PSC_COM_BUS_ATTACHMENT
Contains business entity attachments
Details
-
Schema: FUSION
-
Object owner: PSC_CC
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
PSC_COM_BUS_ATTACHMENT_PK |
BUS_ATTACHMENT_KEY |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| BUS_ATTACHMENT_KEY | NUMBER | 18 | Yes | Indicates the GUID for an attachment, AUTO_GENERATED. | |
| ATTACHMENT_ID | NUMBER | 18 | Yes | Indicates the attachment id | |
| ATTACHMENT_TYPE | VARCHAR2 | 15 | Yes | Indicates the type of attachment | |
| DOC_CATEGORY | VARCHAR2 | 30 | Indicates the document category | ||
| DOC_SUBCATEGORY | VARCHAR2 | 30 | Subcategory of the document | ||
| REFERENCE_KEY | NUMBER | 18 | A business owner key to which document belongs | ||
| REFERENCE_PUID | VARCHAR2 | 50 | A public unique identifier of reference | ||
| BUSINESS_ENTITY_KEY | NUMBER | 18 | Yes | A business entity key to which document belongs | |
| BUSINESS_ENTITY_ID | VARCHAR2 | 50 | Yes | A public unique identifier of the business entity | |
| BUSINESS_LOCATION_KEY | NUMBER | 18 | A business location key to which document belongs | ||
| BUSINESS_LOCATION_ID | VARCHAR2 | 50 | A public unique identifier of the business location | ||
| REVIEWED_FLAG | VARCHAR2 | 1 | Yes | Flag that indicates whether document has been reviewed or not | |
| REVIEWER_NAME | VARCHAR2 | 100 | User id of the reviewer | ||
| BUS_ATTACHMENT_PUID | VARCHAR2 | 480 | Yes | A public unique identifier of the business attachment | |
| REVIEW_DATE | TIMESTAMP | Indicates the date on which document has been reviewed | |||
| EXPIRATION_DATE | TIMESTAMP | Indicates the date on which document will expire | |||
| DOC_GROUP_ID | VARCHAR2 | 30 | Indicates the document group id | ||
| BUS_ATTACH_STATUS_FLAG | VARCHAR2 | 1 | Yes | Flag to indicate the status of attachment | |
| BUS_ATTACH_CARRY_TO_BL_FLAG | VARCHAR2 | 1 | Yes | Flag to indicate whether document will be carried forward to upcoming BL applications | |
| MIGRATED_DATA_FLAG | VARCHAR2 | 1 | Yes | Flag to indicate that the data was migrated from another system. | |
| AGENCY_ID | NUMBER | 8 | Yes | Unique identifier of agency | |
| 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. | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| 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. |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| PSC_COM_BUS_ATTACHMENT | psc_com_business_entity | BUSINESS_ENTITY_KEY |
| PSC_COM_BUS_ATTACHMENT | psc_com_attachment | ATTACHMENT_ID |
| PSC_COM_BUS_ATTACHMENT | psc_com_bus_location | BUSINESS_LOCATION_KEY |
| PSC_COM_BUS_ATTACHMENT | psc_com_bus_entity_xref | REFERENCE_KEY |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| PSC_COM_BUS_ATTACHMENT_FK1 | Non Unique | Default | BUSINESS_ENTITY_KEY |
| PSC_COM_BUS_ATTACHMENT_PK | Unique | Default | BUS_ATTACHMENT_KEY |