MERCHANDISEPRODUCTOPTION (4.0SP20)

Holds the option groups for a merchandise item.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

MERCHANDISEPRODUCTID

uniqueidentifier

true

Foreign key to the merchandise item table.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(50)

false

''

The name of the option group.

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

SEQUENCE

int

false

0

Indexes
Index Name Field(s) Unique Primary Clustered

IX_MERCHANDISEPRODUCTOPTION_DATEADDED

DATEADDED

False

False

True

IX_MERCHANDISEPRODUCTOPTION_DATECHANGED

DATECHANGED

False

False

False

PK_MERCHANDISEPRODUCTOPTION

ID

True

True

False

UIX_MERCHANDISEPRODUCTOPTION_MERCHANDISEPRODUCTID_NAME

MERCHANDISEPRODUCTID

NAME

True

False

False

Triggers
Trigger Name Description

TR_MERCHANDISEPRODUCTOPTION_AUDIT_UPDATE

TR_MERCHANDISEPRODUCTOPTION_AUDIT_DELETE

Referenced by
Referenced by Field

MERCHANDISEPRODUCTOPTIONVALUE

MERCHANDISEPRODUCTOPTIONID