LISTSORTMETHOD (4.0SP14)

Contains the sort method for various lists like code tables, states, countries, funds, etc.

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

LISTKEY

nvarchar(100)

false

A key unsed to uniquely identify a dropdown

SORTMETHOD

tinyint

false

0

0=Alphabetically, 1=User Defined

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_LISTSORTMETHOD_DATEADDED

DATEADDED

False

False

True

PK_LISTSORTMETHOD

ID

True

True

False

UC_LISTSORTMETHOD_LISTKEY

LISTKEY

True

False

False

Triggers
Trigger Name Description

TR_LISTSORTMETHOD_AUDIT_UPDATE

TR_LISTSORTMETHOD_AUDIT_DELETE