SALESORDERITEMRE7DONATION (4.0SP17)

Stores data for a RE7 donation on a sales order.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

ECARDSDATA

xml

true

XML data held for BBNC's eCards.

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_SALESORDERITEMRE7DONATION_DATEADDED

DATEADDED

False

False

True

IX_SALESORDERITEMRE7DONATION_DATECHANGED

DATECHANGED

False

False

False

PK_SALESORDERITEMRE7DONATION

ID

True

True

False

Triggers
Trigger Name Description

TR_SALESORDERITEMRE7DONATION_AUDIT_UPDATE

TR_SALESORDERITEMRE7DONATION_AUDIT_DELETE