SALESMETHODFEE (4.0SP14)

This table links a sales type to one or more fees.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

FEEID

uniqueidentifier

false

The ID of the fee in which the sales method is linked.

SALESMETHODID

uniqueidentifier

false

The ID of the sales type in which the fee is linked.

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_SALESMETHODFEE_DATEADDED

DATEADDED

False

False

True

IX_SALESMETHODFEE_DATECHANGED

DATECHANGED

False

False

False

PK_SALESMETHODFEE

ID

True

True

False

UIX_SALESMETHODFEE_FEEID_SALESMETHODID

FEEID

SALESMETHODID

True

False

False

Triggers
Trigger Name Description

TR_SALESMETHODFEE_AUDIT_UPDATE

TR_SALESMETHODFEE_AUDIT_DELETE