AUCTIONITEM (4.0SP14)

Items sold in auctions.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

AUCTIONITEMCATEGORYID

uniqueidentifier

true

FK to AUCTIONITEMCATEGORY

AUCTIONITEMSUBCATEGORYID

uniqueidentifier

true

FK to AUCTIONITEMSUBCATEGORY

EVENTAUCTIONID

uniqueidentifier

true

Auction

PACKAGEID

uniqueidentifier

true

Package

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

COPIEDFROMID

uniqueidentifier

true

FK to AUCTIONITEM

REVENUEAUCTIONDONATIONID

uniqueidentifier

true

Revenue record

BASECURRENCYID

uniqueidentifier

true

The base currency associated with this auction item.

BASEEXCHANGERATEID

uniqueidentifier

true

The exchange rate used to calculate the base amounts.

BASETOORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

The rate used to convert the minimum bid field. The minimum bid field will only be in base currency.

ORIGINTOORGANIZATIONEXCHANGERATEID

uniqueidentifier

true

The rate used to convert the value field.

TRANSACTIONCURRENCYID

uniqueidentifier

true

The transaction currency associated with this auction item.

Fields
Field Field Type Null Notes Description

NAME

nvarchar(100)

false

''

Name of the item

DESCRIPTION

nvarchar(255)

false

''

Description of the item

VALUE

money

false

0

Value of the item

MINIMUMBID

money

false

0

Minimum bid for the item

EXPIRATIONDATE

datetime

true

TYPECODE

tinyint

false

0

Type (item or package) of the auction item.

TYPE

nvarchar(7) (Computed)

true

Provides a translation for the 'TYPECODE' field.

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.

CUSTOMIDENTIFIER

nvarchar(100)

false

''

User-definable custom identifier.

SEQUENCEID

int

false

Identity column used to increment the default lookupid.

LOOKUPID

nvarchar(100) (Computed)

true

Unique identifer that supports user defined values as well as system generated values.

TRANSACTIONVALUE

money

false

0

VALUE of the item in transaction currency.

ORGANIZATIONVALUE

money

false

0

VALUE of the item in organization currency.

ORGANIZATIONMINIMUMBID

money

false

0

MINIMUMBID of the item in organization currency.

TRANSACTIONMINIMUMBID

money

false

0

MINIMUMBID of the item in transaction currency.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_AUCTIONITEM_AUCTIONITEMCATEGORYID

AUCTIONITEMCATEGORYID

False

False

False

IX_AUCTIONITEM_AUCTIONITEMSUBCATEGORYID

AUCTIONITEMSUBCATEGORYID

False

False

False

IX_AUCTIONITEM_BASECURRENCYID

BASECURRENCYID

False

False

False

IX_AUCTIONITEM_BASEEXCHANGERATEID

BASEEXCHANGERATEID

False

False

False

IX_AUCTIONITEM_BASETOORGANIZATIONEXCHANGERATEID

BASETOORGANIZATIONEXCHANGERATEID

False

False

False

IX_AUCTIONITEM_DATEADDED

DATEADDED

False

False

True

IX_AUCTIONITEM_DATECHANGED

DATECHANGED

False

False

False

IX_AUCTIONITEM_EVENTAUCTIONID

EVENTAUCTIONID

False

False

False

IX_AUCTIONITEM_ORIGINTOORGANIZATIONEXCHANGERATEID

ORIGINTOORGANIZATIONEXCHANGERATEID

False

False

False

IX_AUCTIONITEM_PACKAGEID

PACKAGEID

False

False

False

IX_AUCTIONITEM_REVENUEAUCTIONDONATIONID

REVENUEAUCTIONDONATIONID

False

False

False

IX_AUCTIONITEM_TRANSACTIONCURRENCYID

TRANSACTIONCURRENCYID

False

False

False

PK_AUCTIONITEM

ID

True

True

False

UC_AUCTIONITEM_LOOKUPID

LOOKUPID

True

False

False

Triggers
Trigger Name Description

TR_AUCTIONITEM_AUDIT_UPDATE

TR_AUCTIONITEM_AUDIT_DELETE

TR_AUCTIONITEM_INSERTUPDATE_CURRENCY

Referenced by
Referenced by Field

AUCTIONITEMPURCHASE

AUCTIONITEMID

AUCTIONITEMRESERVATION

AUCTIONITEMID

AUCTIONITEMREVENUEPURCHASE

AUCTIONITEMID

BATCHAMPROIMPORTITEM

AUCTIONITEM_LINKID

BATCHAMPROIMPORTPACKAGE

PACKAGE_LINKID