Items sold in auctions.
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
|
|
Value of the item
|
|
MINIMUMBID
|
money
|
false
|
|
Minimum bid for the item
|
|
EXPIRATIONDATE
|
datetime
|
true
|
|
|
|
TYPECODE
|
tinyint
|
false
|
|
Type (item or package) of the auction item.
|
|
TYPE
|
nvarchar(7) (Computed)
|
true
|
|
Provides a translation for the 'TYPECODE' field.
|
|
DATEADDED
|
datetime
|
false
|
|
Indicates the date this record was added.
|
|
DATECHANGED
|
datetime
|
false
|
|
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
|
|
VALUE of the item in transaction currency.
|
|
ORGANIZATIONVALUE
|
money
|
false
|
|
VALUE of the item in organization currency.
|
|
ORGANIZATIONMINIMUMBID
|
money
|
false
|
|
MINIMUMBID of the item in organization currency.
|
|
TRANSACTIONMINIMUMBID
|
money
|
false
|
|
MINIMUMBID of the item in transaction currency.
|
Indexes
| Index Name |
Field(s) |
Unique |
Primary |
Clustered |
|
IX_AUCTIONITEM_AUCTIONITEMCATEGORYID
|
|
False
|
False
|
False
|
|
IX_AUCTIONITEM_AUCTIONITEMSUBCATEGORYID
|
|
False
|
False
|
False
|
|
IX_AUCTIONITEM_BASECURRENCYID
|
|
False
|
False
|
False
|
|
IX_AUCTIONITEM_BASEEXCHANGERATEID
|
|
False
|
False
|
False
|
|
IX_AUCTIONITEM_BASETOORGANIZATIONEXCHANGERATEID
|
BASETOORGANIZATIONEXCHANGERATEID
|
False
|
False
|
False
|
|
IX_AUCTIONITEM_DATEADDED
|
|
False
|
False
|
True
|
|
IX_AUCTIONITEM_DATECHANGED
|
|
False
|
False
|
False
|
|
IX_AUCTIONITEM_EVENTAUCTIONID
|
|
False
|
False
|
False
|
|
IX_AUCTIONITEM_ORIGINTOORGANIZATIONEXCHANGERATEID
|
ORIGINTOORGANIZATIONEXCHANGERATEID
|
False
|
False
|
False
|
|
IX_AUCTIONITEM_PACKAGEID
|
|
False
|
False
|
False
|
|
IX_AUCTIONITEM_REVENUEAUCTIONDONATIONID
|
|
False
|
False
|
False
|
|
IX_AUCTIONITEM_TRANSACTIONCURRENCYID
|
|
False
|
False
|
False
|
|
PK_AUCTIONITEM
|
|
True
|
True
|
False
|
|
UC_AUCTIONITEM_LOOKUPID
|
|
True
|
False
|
False
|