MKTASKLADDER

Stores information pertaining to an ask ladder.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(100) Default = '' The name of the ask ladder.
ISACTIVE bit Default = 1 Indicates to the system that the ask ladder is active.
CURRENCYSYMBOL nvarchar(10) Default = '' The currency symbol to use when building this ask ladder.
OBJECTKEY nvarchar(400) Default = '' A key representing the object used to generate the entry amount for this ask ladder, if one is used.
DATEADDED datetime Default = getdate() Indicates the date this record was added.
DATECHANGED datetime Default = getdate() Indicates the date this record was last changed.
TS timestamp Timestamp.
TSLONG bigint (Computed) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

Foreign Key Field Type Null Notes Description
RECORDSOURCEID uniqueidentifier yes MKTRECORDSOURCE.ID The record source to which this ask ladder applies.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
BASECURRENCYID uniqueidentifier yes CURRENCY.ID The base currency for this ask ladder.
SITEID uniqueidentifier yes SITE.ID The site to which this ask ladder belongs.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTASKLADDER_BASECURRENCYID BASECURRENCYID
IX_MKTASKLADDER_DATEADDED DATEADDED yes
IX_MKTASKLADDER_DATECHANGED DATECHANGED
IX_MKTASKLADDER_RECORDSOURCEID RECORDSOURCEID
IX_MKTASKLADDER_SITEID SITEID
PK_MKTASKLADDER ID yes yes
UC_MKTASKLADDER_NAME NAME yes

Triggers

Trigger Name Description
TR_MKTASKLADDER_INSERTUPDATE_CURRENCY
TR_MKTASKLADDER_AUDIT_UPDATE
TR_MKTASKLADDER_AUDIT_DELETE

Referenced by

Referenced by Field
APPEALMAILINGSETUP MKTASKLADDERID
APPEALMAILINGSETUPLETTER MKTASKLADDERID
COMMUNICATIONLETTER MKTASKLADDERID
MKTACKNOWLEDGEMENTMAILINGTEMPLATEASKLADDEROVERRIDE ASKLADDERID
MKTACKNOWLEDGEMENTMAILINGTEMPLATERULE ASKLADDERID
MKTASKLADDERITEM ASKLADDERID
MKTCOMMUNICATIONTEMPLATEDEFAULTASKLADDEROVERRIDE ASKLADDERID
MKTMEMBERSHIPMAILINGTEMPLATEASKLADDEROVERRIDE ASKLADDERID
MKTMEMBERSHIPMAILINGTEMPLATERULE ASKLADDERID
MKTSEGMENTATIONASKLADDEROVERRIDE ASKLADDERID
MKTSEGMENTATIONSEGMENT ASKLADDERID
MKTSEGMENTATIONTESTSEGMENT ASKLADDERID
MKTSPONSORSHIPMAILINGTEMPLATEASKLADDEROVERRIDE ASKLADDERID
MKTSPONSORSHIPMAILINGTEMPLATERULE ASKLADDERID