SALESORDERITEMEVENTREGISTRATION (4.0SP20)

Defines an order event registration on a sales order

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

REGISTRANTID

uniqueidentifier

false

FK to REGISTRANT

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

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.

EVENTNAME

nvarchar(100)

false

''

Name of event at time of sale.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_SALESORDERITEMEVENTREGISTRATION_DATEADDED

DATEADDED

False

False

True

IX_SALESORDERITEMEVENTREGISTRATION_DATECHANGED

DATECHANGED

False

False

False

IX_SALESORDERITEMEVENTREGISTRATION_REGISTRANTID

REGISTRANTID

False

False

False

PK_SALESORDERITEMEVENTREGISTRATION

ID

True

True

False

Triggers
Trigger Name Description

TR_SALESORDERITEMEVENTREGISTRATION_AUDIT_UPDATE

TR_SALESORDERITEMEVENTREGISTRATION_AUDIT_DELETE

Referenced by
Referenced by Field

SALESORDERITEMEVENTREGISTRANTREGISTRATION

SALESORDERITEMEVENTREGISTRATIONID