ITEMVERSN

Each row of this table represents an ItemVersion for a BaseItem. An ItemVersion expires when its expiration date is in the past. Each BaseItem must only have a single ItemVersion defined.

Column Descriptions:

NameTypeDescription
ITEMVERSN_IDBIGINT NOT NULLGenerated primary key.
LASTUPDATETIMESTAMPThe time this ItemVersion was most recently updated.
BASEITEM_IDBIGINT NOT NULLThe BaseItem for this ItemVersion.
EXPIRATIONDATETIMESTAMP NOT NULLThe time this ItemVersion expires. Specify an end date that will not expire, for example: '9999-12-31 23:59:59.0'
VERSIONNAMECHAR (30) NOT NULL DEFAULT 'Version 1'Uniquely identifies this ItemVersion for its BaseItem.
OPTCOUNTERSMALLINT NOT NULL DEFAULT 0The optimistic concurrency control counter for the table. Every time there is an update to the table, the counter is incremented.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>ITEMVERSN_IDPrimary Key
I0000140BASEITEM_ID+EXPIRATIONDATEUnique Index
I0000141BASEITEM_ID+VERSIONNAMEUnique Index

Constrained By Parent Tables:

ConstraintColumnsParent TableParent ColumnsType
F_408BASEITEM_IDBASEITEMBASEITEM_IDCascade

Referenced By Child Tables:

ConstraintColumnsChild TableChild ColumnsType
F_906ITEMVERSN_IDVERSIONSPCITEMVERSN_IDCascade