COMBINATIONAVAILABILITYSALESMETHOD (4.0SP17)

Contains combination availability sales method information

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

COMBINATIONAVAILABILITYID

uniqueidentifier

false

The ID of the Combination Availability record the Sales Method is for.

SALESMETHODID

uniqueidentifier

false

The ID of the Sales Method the Combination is valid for.

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_COMBINATIONAVAILABILITYSALESMETHOD_DATEADDED

DATEADDED

False

False

True

IX_COMBINATIONAVAILABILITYSALESMETHOD_DATECHANGED

DATECHANGED

False

False

False

PK_COMBINATIONAVAILABILITYSALESMETHOD

ID

True

True

False

UIX_COMBINATIONAVAILABILITYSALESMETHOD_COMBINATIONAVAILABILITYID_SALESMETHODID

COMBINATIONAVAILABILITYID

SALESMETHODID

True

False

False

Triggers
Trigger Name Description

TR_COMBINATIONAVAILABILITYSALESMETHOD_AUDIT_UPDATE

TR_COMBINATIONAVAILABILITYSALESMETHOD_AUDIT_DELETE