BATCHAMPROIMPORTPACKAGE

Stores rows relating to packages which are imported from AuctionMaestro Pro.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
PACKAGE_MAPPINGID int Default = 0 The mapping ID used to identify this package in AuctionMaestro Pro.
PACKAGE_NAME nvarchar(100) Default = '' Name of the package.
PACKAGE_DESCRIPTION nvarchar(255) Default = '' Description of the package.
PACKAGE_EXPIRATIONDATE datetime yes Dxpiration date of the package .
PACKAGE_CATEGORY nvarchar(100) Default = '' Category of the package.
PACKAGE_SUBCATEGORY nvarchar(100) Default = '' Subcategory of the package.
PACKAGE_MINIMUMBID money Default = 0 Minimum bid of the item.
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
ID uniqueidentifier BATCHAMPROIMPORT.ID Primary Key.
PACKAGE_LINKID uniqueidentifier yes AUCTIONITEM.ID FK to AUCTIONITEM
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_BATCHAMPROIMPORTPACKAGE_DATEADDED DATEADDED yes
IX_BATCHAMPROIMPORTPACKAGE_DATECHANGED DATECHANGED
PK_BATCHAMPROIMPORTPACKAGE ID yes yes

Triggers

Trigger Name Description
TR_BATCHAMPROIMPORTPACKAGE_AUDIT_UPDATE
TR_BATCHAMPROIMPORTPACKAGE_AUDIT_DELETE