CZ_ATTACHMENTS

Table used to store Configurator attachments. Because of the way we version our objects, primary key of an object (e.g. UI Item) can change with versions, which is why we cannot link FND attachments directly with our objects. We need a table with persistent primary keys to link to FND attachments, which is what this table provides.

Details

  • Schema: FUSION

  • Object owner: CZ

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

CZ_ATTACHMENTS_PK

ATTACHMENT_ID

Columns

Name Datatype Length Precision Not-null Comments
ATTACHMENT_ID NUMBER 18 Yes System generated unique identifier of the Attachment
DELETED_FLAG NUMBER 18 Yes This flag indicates the logical deletion of the row. A non-zero value represents deleted state and 0 represents not-deleted state. A user controlled background purge process will physically delete the orphaned rows with the non-zero flag value.
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.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.

Foreign Keys

Table Foreign Table Foreign Key Column
cz_ui_hints_b cz_attachments UNSELECTED_IMAGE_ATTACHMENT_ID
cz_ui_hints_b cz_attachments SELECTED_IMAGE_ATTACHMENT_ID
cz_ui_hints_b cz_attachments EXCLUDED_IMAGE_ATTACHMENT_ID

Indexes

Index Uniqueness Tablespace Columns
CZ_ATTACHMENTS_U1 Unique Default ATTACHMENT_ID