Jun 23, 2008 - Columns. Data type. Allow NULLs. Value/Range. AddressId int identity. Not allowed. UserId (FK) int. Not a
AbleCommerce 7.0 Database Schema
Revision: 7.0 b9879 June 23rd, 2008
Copyright ©2008 Able Solutions Corporation. All rights reserved. AbleCommerce is a division of Able Solutions Corporation. CommerceBuilder is a registered trademark of Able Solutions Corporation. The information contained herein is supplied without representation or warranty of any kind, is subject to change without notice and does not represent a commitment on the part of Able Solutions Corporation. Able Solutions Corporation, therefore, assumes no responsibility and shall have no liability, consequential or otherwise, of any kind arising from this material or any part thereof, or any supplementary materials subsequently issued by Able Solutions Corporation. We have made every effort to ensure the accuracy of this material. If you have any questions or comments, please contact us using one of the methods below. AbleCommerce.com PO Box 873249 Vancouver, WA 98687-3249 Phone: 1-360-571-5839 Toll Free: 1-866-571-5888 (USA Only) Fax: 1-360-546-3532 Email:
[email protected] Web: http://www.ablecommerce.com
AbleCommerce 7.0 Database Schema
ac_Addresses Columns AddressId UserId (FK) Nickname FirstName LastName Company Address1 Address2 City Province PostalCode CountryCode (FK) Phone Fax Email Residence Validated Foreign keys ac_Countries_ac_Addresses_FK1 ac_Users_ac_Addresses_FK1 ac_Addresses_ac_BasketShipments_FK1 Foreign key details (child) ac_Countries_ac_Addresses_FK1
Data type int identity int nvarchar(100) nvarchar(30) nvarchar(50) nvarchar(50) nvarchar(255) nvarchar(255) nvarchar(50) nvarchar(50) nvarchar(15) char(2) nvarchar(50) nvarchar(50) nvarchar(255) bit bit
Allow NULLs Value/Range Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed Not allowed Child CountryCode UserId ac_BasketShipments.AddressId
Definition:
Child CountryCode
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Countries_ac_Addresses_FK1
Parent ac_Countries.CountryCode ac_Users.UserId AddressId
Parent ac_Countries.CountryCode
ac_Users_ac_Addresses_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_Addresses_FK1
Foreign key details (parent) ac_Addresses_ac_BasketShipments_FK1 Definition:
Child ac_BasketShipments.AddressId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Addresses_ac_BasketShipments_FK1
1
Parent AddressId
AbleCommerce 7.0 Database Schema
ac_Affiliates Columns AffiliateId StoreId (FK) Name PayeeName FirstName LastName Company Address1 Address2 City Province PostalCode CountryCode PhoneNumber FaxNumber MobileNumber WebsiteUrl Email CommissionRate CommissionIsPercent CommissionOnTotal ReferralDays Foreign keys ac_Stores_ac_Affiliates_FK1 ac_Affiliates_ac_Orders_FK1 ac_Affiliates_ac_Users_FK1
Data type int identity int nvarchar(100) nvarchar(100) nvarchar(30) nvarchar(50) nvarchar(50) nvarchar(100) nvarchar(100) nvarchar(50) nvarchar(50) nvarchar(15) char(2) nvarchar(50) nvarchar(50) nvarchar(50) nvarchar(255) nvarchar(255) decimal(9,4) bit bit smallint
Allow NULLs Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed Not allowed Not allowed Not allowed
Value/Range
Child StoreId ac_Orders.AffiliateId ac_Users.AffiliateId
Parent ac_Stores.StoreId AffiliateId AffiliateId
Foreign key details (child) ac_Stores_ac_Affiliates_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Affiliates_FK1
Foreign key details (parent) ac_Affiliates_ac_Orders_FK1 Definition:
Child ac_Orders.AffiliateId
Parent AffiliateId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Affiliates_ac_Orders_FK1
ac_Affiliates_ac_Users_FK1 Definition:
Child ac_Users.AffiliateId
Parent AffiliateId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Affiliates_ac_Users_FK1
2
AbleCommerce 7.0 Database Schema
ac_AuditEvents Columns AuditEventId StoreId (FK) EventDate EventTypeId Successful UserId (FK) RelatedId RemoteIP Comment
Data type int identity int datetime int bit int int varchar(15) nvarchar(max)
Foreign keys ac_Users_ac_Auditlog_FK1 ac_Stores_ac_AuditEvents_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed
Value/Range
Child UserId StoreId
Parent ac_Users.UserId ac_Stores.StoreId
Foreign key details (child) ac_Users_ac_Auditlog_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Users_ac_Auditlog_FK1
ac_Stores_ac_AuditEvents_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_AuditEvents_FK1
3
AbleCommerce 7.0 Database Schema
ac_BannedIPs Columns BannedIPId StoreId (FK) IPRangeStart IPRangeEnd Comment Foreign keys ac_Stores_ac_BannedIPs_FK1
Data type int identity int bigint bigint nvarchar(100)
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed
Child StoreId
Value/Range
Parent ac_Stores.StoreId
Foreign key details (child) ac_Stores_ac_BannedIPs_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_BannedIPs_FK1
4
AbleCommerce 7.0 Database Schema
ac_BasketCoupons Columns BasketId (FK) CouponId (FK) AppliedDate
Data type int int datetime
Foreign keys ac_Baskets_ac_BasketCoupons_FK1 ac_Coupons_ac_OrderCouponAssn_FK1
Allow NULLs Not allowed Not allowed Not allowed
Value/Range
Child BasketId CouponId
Parent ac_Baskets.BasketId ac_Coupons.CouponId
Foreign key details (child) ac_Baskets_ac_BasketCoupons_FK1 Definition:
Child BasketId
Parent ac_Baskets.BasketId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Baskets_ac_BasketCoupons_FK1
ac_Coupons_ac_OrderCouponAssn_FK1 Definition:
Child CouponId
Parent ac_Coupons.CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_OrderCouponAssn_FK1
5
AbleCommerce 7.0 Database Schema
ac_BasketItemInputs Columns BasketItemInputId BasketItemId (FK) InputFieldId (FK) InputValue
Data type int identity int int nvarchar(max)
Foreign keys ac_BasketItems_ac_BasketItemInputs_FK1 ac_InputFields_ac_BasketItemInputs_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed
Value/Range
Child BasketItemId InputFieldId
Parent ac_BasketItems.BasketItemId ac_InputFields.InputFieldId
Foreign key details (child) ac_BasketItems_ac_BasketItemInputs_FK1 Definition:
Child BasketItemId
Parent ac_BasketItems.BasketItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_BasketItems_ac_BasketItemInputs_FK1
ac_InputFields_ac_BasketItemInputs_FK1 Definition:
Child InputFieldId
Parent ac_InputFields.InputFieldId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_InputFields_ac_BasketItemInputs_FK1
6
AbleCommerce 7.0 Database Schema
ac_BasketItemKitProducts Columns BasketItemId (FK) KitProductId (FK)
Data type int int
Allow NULLs Not allowed Not allowed
Foreign keys ac_BasketItems_ac_BasketItemKitProducts_FK1 ac_KitProduct_ac_BasketItemKitProducts_FK1
Value/Range
Child BasketItemId KitProductId
Parent ac_BasketItems.BasketItemId ac_KitProducts.KitProductId
Foreign key details (child) ac_BasketItems_ac_BasketItemKitProducts_FK1 Definition:
Child BasketItemId
Parent ac_BasketItems.BasketItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_BasketItems_ac_BasketItemKitProducts_FK1
ac_KitProduct_ac_BasketItemKitProducts_FK1 Definition:
Child KitProductId
Parent ac_KitProducts.KitProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_KitProduct_ac_BasketItemKitProducts_FK1
7
AbleCommerce 7.0 Database Schema
ac_BasketItems Columns BasketItemId ParentItemId BasketId (FK) BasketShipmentId ProductId (FK) OptionList TaxCodeId (FK) Name Sku Price Weight Quantity LineMessage OrderItemTypeId OrderBy WrapStyleId (FK) GiftMessage WishlistItemId (FK) ShippableId LastModifiedDate
Data type int identity int int int int varchar(255) int nvarchar(255) nvarchar(100) decimal(12,4) decimal(12,4) smallint nvarchar(255) smallint smallint int nvarchar(255) int tinyint datetime
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Allowed Allowed Not allowed Allowed Not allowed Not allowed Not allowed Allowed Not allowed Not allowed Allowed Allowed Allowed Not allowed Not allowed
Foreign keys ac_Baskets_ac_BasketItems_FK1 ac_Products_ac_BasketItems_FK1 ac_TaxCodes_ac_BasketItems_FK1 ac_WishlistItems_ac_BasketItems_FK1 ac_WrapStyles_ac_BasketItems_FK1 ac_BasketItems_ac_BasketItemInputs_FK1
Value/Range
Child BasketId ProductId TaxCodeId WishlistItemId WrapStyleId ac_BasketItemInputs.BasketItemI d ac_BasketItemKitProducts.BasketI temId
ac_BasketItems_ac_BasketItemKitProducts_FK1
Foreign key details (child) ac_Baskets_ac_BasketItems_FK1 Definition:
Child BasketId
Parent ac_Baskets.BasketId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Baskets_ac_BasketItems_FK1
ac_Products_ac_BasketItems_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_BasketItems_FK1
ac_TaxCodes_ac_BasketItems_FK1 Definition:
Child TaxCodeId
Parent ac_TaxCodes.TaxCodeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_TaxCodes_ac_BasketItems_FK1
8
Parent ac_Baskets.BasketId ac_Products.ProductId ac_TaxCodes.TaxCodeId ac_WishlistItems.WishlistItemId ac_WrapStyles.WrapStyleId BasketItemId BasketItemId
AbleCommerce 7.0 Database Schema ac_WishlistItems_ac_BasketItems_FK1 Definition:
Child WishlistItemId
Parent ac_WishlistItems.WishlistItemId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_WishlistItems_ac_BasketItems_FK1
ac_WrapStyles_ac_BasketItems_FK1 Definition:
Child WrapStyleId
Parent ac_WrapStyles.WrapStyleId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_WrapStyles_ac_BasketItems_FK1
Foreign key details (parent) ac_BasketItems_ac_BasketItemInputs_FK1 Definition:
Child ac_BasketItemInputs.BasketItemId
Parent BasketItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_BasketItems_ac_BasketItemInputs_FK1
ac_BasketItems_ac_BasketItemKitProducts_FK1 Definition:
Child Parent ac_BasketItemKitProducts.BasketItemId BasketItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_BasketItems_ac_BasketItemKitProducts_FK1
9
AbleCommerce 7.0 Database Schema
ac_Baskets Columns BasketId UserId (FK) ContentHash
Data type int identity int nvarchar(32)
Foreign keys ac_Users_ac_Baskets_FK1 ac_Baskets_ac_BasketCoupons_FK1 ac_Baskets_ac_BasketItems_FK1 ac_Baskets_ac_BasketShipments_FK1
Allow NULLs Not allowed Not allowed Allowed
Value/Range
Child UserId ac_BasketCoupons.BasketId ac_BasketItems.BasketId ac_BasketShipments.BasketId
Foreign key details (child) ac_Users_ac_Baskets_FK1 Definition:
Child UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_Baskets_FK1
Parent ac_Users.UserId
Foreign key details (parent) ac_Baskets_ac_BasketCoupons_FK1 Definition:
Child ac_BasketCoupons.BasketId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Baskets_ac_BasketCoupons_FK1
Parent BasketId
ac_Baskets_ac_BasketItems_FK1 Definition:
Child ac_BasketItems.BasketId
Parent BasketId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Baskets_ac_BasketItems_FK1
ac_Baskets_ac_BasketShipments_FK1 Definition:
Child ac_BasketShipments.BasketId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Baskets_ac_BasketShipments_FK1
10
Parent BasketId
Parent ac_Users.UserId BasketId BasketId BasketId
AbleCommerce 7.0 Database Schema
ac_BasketShipments Columns BasketShipmentId BasketId (FK) WarehouseId (FK) ShipMethodId (FK) AddressId (FK) ShipMessage
Data type int identity int int int int nvarchar(255)
Foreign keys ac_Addresses_ac_BasketShipments_FK1 ac_Baskets_ac_BasketShipments_FK1 ac_ShipMethods_ac_BasketShipments_FK1 ac_Warehouses_ac_BasketShipments_FK1
Allow NULLs Not allowed Not allowed Allowed Allowed Allowed Allowed
Value/Range
Child AddressId BasketId ShipMethodId WarehouseId
Parent ac_Addresses.AddressId ac_Baskets.BasketId ac_ShipMethods.ShipMethodId ac_Warehouses.WarehouseId
Foreign key details (child) ac_Addresses_ac_BasketShipments_FK1 Definition:
Child AddressId
Parent ac_Addresses.AddressId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Addresses_ac_BasketShipments_FK1
ac_Baskets_ac_BasketShipments_FK1 Definition:
Child BasketId
Parent ac_Baskets.BasketId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Baskets_ac_BasketShipments_FK1
ac_ShipMethods_ac_BasketShipments_FK1 Definition:
Child ShipMethodId
Parent ac_ShipMethods.ShipMethodId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_ShipMethods_ac_BasketShipments_FK1
ac_Warehouses_ac_BasketShipments_FK1 Definition:
Child WarehouseId
Parent ac_Warehouses.WarehouseId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Warehouses_ac_BasketShipments_FK1
11
AbleCommerce 7.0 Database Schema
ac_CatalogNodes Columns CategoryId (FK) CatalogNodeId CatalogNodeTypeId OrderBy
Data type int int tinyint smallint
Foreign keys ac_Categories_ac_CatalogNodes_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Child CategoryId
Value/Range
Parent ac_Categories.CategoryId
Foreign key details (child) ac_Categories_ac_CatalogNodes_FK1 Definition:
Child CategoryId
Parent ac_Categories.CategoryId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Categories_ac_CatalogNodes_FK1
12
AbleCommerce 7.0 Database Schema
ac_Categories Columns CategoryId StoreId (FK) ParentId Name Summary Description ThumbnailUrl ThumbnailAltText DisplayPage Theme HtmlHead VisibilityId
Data type int identity int int nvarchar(100) nvarchar(max) nvarchar(max) varchar(255) nvarchar(255) varchar(100) varchar(100) nvarchar(max) tinyint
Foreign keys ac_Stores_ac_Categories_FK1 ac_Categories_ac_CatalogNodes_FK1 ac_Categories_ac_CategoryAssn_FK1 ac_Categories_ac_CategoryDiscountAssn_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed
Value/Range
Child StoreId ac_CatalogNodes.CategoryId ac_CategoryParents.CategoryId ac_CategoryVolumeDiscounts.Cate goryId
Foreign key details (child) ac_Stores_ac_Categories_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Categories_FK1
Foreign key details (parent) ac_Categories_ac_CatalogNodes_FK1 Definition:
Child ac_CatalogNodes.CategoryId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Categories_ac_CatalogNodes_FK1
Parent CategoryId
ac_Categories_ac_CategoryAssn_FK1 Definition:
Child ac_CategoryParents.CategoryId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Categories_ac_CategoryAssn_FK1
Parent CategoryId
ac_Categories_ac_CategoryDiscountAssn_FK1 Definition:
Child Parent ac_CategoryVolumeDiscounts.CategoryId CategoryId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Categories_ac_CategoryDiscountAssn_FK1
13
Parent ac_Stores.StoreId CategoryId CategoryId CategoryId
AbleCommerce 7.0 Database Schema
ac_CategoryParents Columns CategoryId (FK) ParentId ParentLevel ParentNumber
Data type int int tinyint tinyint
Foreign keys ac_Categories_ac_CategoryAssn_FK1
Allow NULLs Not allowed Not allowed Allowed Allowed Child CategoryId
Value/Range
Parent ac_Categories.CategoryId
Foreign key details (child) ac_Categories_ac_CategoryAssn_FK1 Definition:
Child CategoryId
Parent ac_Categories.CategoryId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Categories_ac_CategoryAssn_FK1
14
AbleCommerce 7.0 Database Schema
ac_CategoryVolumeDiscounts Columns CategoryId (FK) VolumeDiscountId (FK)
Data type int int
Foreign keys ac_Categories_ac_CategoryDiscountAssn_FK1 ac_Discounts_ac_CategoryDiscountAssn_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child CategoryId VolumeDiscountId
Parent ac_Categories.CategoryId ac_VolumeDiscounts.VolumeDisco untId
Foreign key details (child) ac_Categories_ac_CategoryDiscountAssn_FK1 Definition:
Child CategoryId
Parent ac_Categories.CategoryId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Categories_ac_CategoryDiscountAssn_FK1
ac_Discounts_ac_CategoryDiscountAssn_FK1 Definition:
Child VolumeDiscountId
Parent ac_VolumeDiscounts.VolumeDiscountId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Discounts_ac_CategoryDiscountAssn_FK1
15
AbleCommerce 7.0 Database Schema
ac_Countries Columns CountryCode StoreId (FK) Name AddressFormat
Data type char(2) int nvarchar(100) nvarchar(255)
Foreign keys ac_Stores_ac_Countries_FK1 ac_Countries_ac_Addresses_FK1 ac_Countries_ac_Provinces_FK1 ac_Countries_ac_ShipZoneCountries_FK1 ac_Countries_ac_TaxRules_FK1 ac_Countries_ac_Warehouses_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed
Value/Range
Child StoreId ac_Addresses.CountryCode ac_Provinces.CountryCode ac_ShipZoneCountries.CountryCode ac_TaxRules.CountryCode ac_Warehouses.CountryCode
Foreign key details (child) ac_Stores_ac_Countries_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Countries_FK1
Foreign key details (parent) ac_Countries_ac_Addresses_FK1 Definition:
Child ac_Addresses.CountryCode
Parent CountryCode
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Countries_ac_Addresses_FK1
ac_Countries_ac_Provinces_FK1 Definition:
Child ac_Provinces.CountryCode
Parent CountryCode
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Countries_ac_Provinces_FK1
ac_Countries_ac_ShipZoneCountries_FK1 Definition:
Child ac_ShipZoneCountries.CountryCode
Parent CountryCode
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Countries_ac_ShipZoneCountries_FK1
ac_Countries_ac_TaxRules_FK1 Definition:
Child ac_TaxRules.CountryCode
Parent CountryCode
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Countries_ac_TaxRules_FK1
16
Parent ac_Stores.StoreId CountryCode CountryCode CountryCode CountryCode CountryCode
AbleCommerce 7.0 Database Schema ac_Countries_ac_Warehouses_FK1 Definition:
Child ac_Warehouses.CountryCode
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Countries_ac_Warehouses_FK1
17
Parent CountryCode
AbleCommerce 7.0 Database Schema
ac_CouponCombos Columns CouponId (FK) ComboCouponId (FK)
Data type int int
Foreign keys ac_Coupons_ac_CouponCombos_FK1 ac_Coupons_ac_CouponCombos_FK2
Allow NULLs Not allowed Not allowed Child CouponId ComboCouponId
Value/Range
Parent ac_Coupons.CouponId ac_Coupons.CouponId
Foreign key details (child) ac_Coupons_ac_CouponCombos_FK1 Definition:
Child CouponId
Parent ac_Coupons.CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_CouponCombos_FK1
ac_Coupons_ac_CouponCombos_FK2 Definition:
Child ComboCouponId
Parent ac_Coupons.CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_CouponCombos_FK2
18
AbleCommerce 7.0 Database Schema
ac_CouponGroups Columns CouponId (FK) GroupId (FK)
Data type int int
Foreign keys ac_Coupons_ac_CouponGroups_FK1 ac_Groups_ac_CouponGroups_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child CouponId GroupId
Parent ac_Coupons.CouponId ac_Groups.GroupId
Foreign key details (child) ac_Coupons_ac_CouponGroups_FK1 Definition:
Child CouponId
Parent ac_Coupons.CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_CouponGroups_FK1
ac_Groups_ac_CouponGroups_FK1 Definition:
Child GroupId
Parent ac_Groups.GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_CouponGroups_FK1
19
AbleCommerce 7.0 Database Schema
ac_CouponProducts Columns CouponId (FK) ProductId (FK)
Data type int int
Foreign keys ac_Coupons_ac_CouponProductAssn_FK1 ac_Products_ac_CouponProductAssn_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child CouponId ProductId
Parent ac_Coupons.CouponId ac_Products.ProductId
Foreign key details (child) ac_Coupons_ac_CouponProductAssn_FK1 Definition:
Child CouponId
Parent ac_Coupons.CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_CouponProductAssn_FK1
ac_Products_ac_CouponProductAssn_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_CouponProductAssn_FK1
20
AbleCommerce 7.0 Database Schema
ac_Coupons Columns CouponId StoreId (FK) CouponTypeId Name CouponCode DiscountAmount IsPercent MaxValue MinPurchase MinQuantity MaxQuantity QuantityInterval MaxUses MaxUsesPerCustomer StartDate EndDate ProductRuleId AllowCombine
Data type int identity int tinyint nvarchar(100) nvarchar(50) decimal(12,4) bit decimal(12,4) decimal(12,4) smallint smallint smallint smallint smallint datetime datetime tinyint bit
Foreign keys ac_Stores_ac_Coupons_FK1 ac_Coupons_ac_OrderCouponAssn_FK1 ac_Coupons_ac_CouponCombos_FK1 ac_Coupons_ac_CouponCombos_FK2 ac_Coupons_ac_CouponProductAssn_FK1 ac_Coupons_ac_CouponGroups_FK1 ac_Coupons_ac_CouponShipMethods_FK1
Allow NULLs Not allowed Not allowed Allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Allowed Allowed Not allowed Not allowed
Value/Range
Child StoreId ac_BasketCoupons.CouponId ac_CouponCombos.CouponId ac_CouponCombos.ComboCouponId ac_CouponProducts.CouponId ac_CouponGroups.CouponId ac_CouponShipMethods.CouponId
Foreign key details (child) ac_Stores_ac_Coupons_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Coupons_FK1
Foreign key details (parent) ac_Coupons_ac_OrderCouponAssn_FK1 Definition:
Child ac_BasketCoupons.CouponId
Parent CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_OrderCouponAssn_FK1
ac_Coupons_ac_CouponCombos_FK1 Definition:
Child ac_CouponCombos.CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_CouponCombos_FK1
ac_Coupons_ac_CouponCombos_FK2
21
Parent CouponId
Parent ac_Stores.StoreId CouponId CouponId CouponId CouponId CouponId CouponId
AbleCommerce 7.0 Database Schema Definition:
Child Parent ac_CouponCombos.ComboCouponId CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_CouponCombos_FK2
ac_Coupons_ac_CouponProductAssn_FK1 Definition:
Child ac_CouponProducts.CouponId
Parent CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_CouponProductAssn_FK1
ac_Coupons_ac_CouponGroups_FK1 Definition:
Child ac_CouponGroups.CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_CouponGroups_FK1
Parent CouponId
ac_Coupons_ac_CouponShipMethods_FK1 Definition:
Child ac_CouponShipMethods.CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_CouponShipMethods_FK1
22
Parent CouponId
AbleCommerce 7.0 Database Schema
ac_CouponShipMethods Columns CouponId (FK) ShipMethodId (FK)
Data type int int
Foreign keys ac_Coupons_ac_CouponShipMethods_FK1 ac_ShipMethods_ac_CouponShipMethods_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child CouponId ShipMethodId
Parent ac_Coupons.CouponId ac_ShipMethods.ShipMethodId
Foreign key details (child) ac_Coupons_ac_CouponShipMethods_FK1 Definition:
Child CouponId
Parent ac_Coupons.CouponId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Coupons_ac_CouponShipMethods_FK1
ac_ShipMethods_ac_CouponShipMethods_FK1 Definition:
Child ShipMethodId
Parent ac_ShipMethods.ShipMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipMethods_ac_CouponShipMethods_FK1
23
AbleCommerce 7.0 Database Schema
ac_Currencies Columns CurrencyId StoreId (FK) Name CurrencySymbol DecimalDigits DecimalSeparator GroupSeparator GroupSizes NegativePattern NegativeSign PositivePattern ISOCode ISOCodePattern ExchangeRate AutoUpdate LastUpdate Foreign keys ac_Stores_ac_Currencies_FK1
Data type int identity int nvarchar(50) nvarchar(40) int nvarchar(4) nvarchar(4) varchar(8) tinyint varchar(4) tinyint varchar(3) tinyint decimal(12,4) bit datetime
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Allowed Allowed Allowed Not allowed Allowed Not allowed Not allowed Allowed Not allowed Not allowed Allowed
Child StoreId
Value/Range
Parent ac_Stores.StoreId
Foreign key details (child) ac_Stores_ac_Currencies_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Currencies_FK1
24
AbleCommerce 7.0 Database Schema
ac_CustomFields Columns CustomFieldId StoreId (FK) TableName ForeignKeyId FieldName FieldValue
Data type int identity int nvarchar(50) int nvarchar(255) nvarchar(max)
Foreign keys ac_Stores_ac_CustomFields_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed
Value/Range
Child StoreId
Parent ac_Stores.StoreId
Foreign key details (child) ac_Stores_ac_CustomFields_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_CustomFields_FK1
25
AbleCommerce 7.0 Database Schema
ac_DhlWarehouses Columns WarehouseId (FK) AccountNumber ShippingKey PostalCode Services DaysToShip Insurance
Data type int nvarchar(255) nvarchar(255) nvarchar(15) nvarchar(255) tinyint bit
Foreign keys ac_Warehouses_ac_DhlWarehouses_FK1
Allow NULLs Not allowed Allowed Allowed Allowed Allowed Allowed Allowed
Value/Range
Child WarehouseId
Parent ac_Warehouses.WarehouseId
Foreign key details (child) ac_Warehouses_ac_DhlWarehouses_FK1 Definition:
Child WarehouseId
Parent ac_Warehouses.WarehouseId
Cardinality: Allow NULLs: Physical name:
One -to- Exactly-1 Not allowed ac_Warehouses_ac_DhlWarehouses_FK1
26
AbleCommerce 7.0 Database Schema
ac_DigitalGoods Columns DigitalGoodId StoreId (FK) Name FileName FileSize MaxDownloads DownloadTimeout ActivationTimeout MediaKey ServerFileName SerialKeyProviderId SerialKeyConfigData ActivationModeId ActivationEmailId UseAutomaticFulfillment FulfillmentEmailId ReadmeId (FK) LicenseAgreementId (FK) LicenseAgreementModeId
Data type int identity int nvarchar(100) nvarchar(100) int tinyint nvarchar(15) nvarchar(15) nvarchar(100) varchar(255) varchar(255) nvarchar(max) tinyint int bit int int int tinyint
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed Allowed Not allowed Allowed Allowed Allowed Not allowed
Value/Range
Foreign keys ac_Readmes_ac_DigitalGoods_FK1 ac_LicenseAgreements_ac_DigitalGoods_FK1
Child ReadmeId LicenseAgreementId
ac_Stores_ac_DigitalGoods_FK1 ac_OrderItemDigitalGoods_ac_DigitalGoods_FK1
StoreId ac_OrderItemDigitalGoods.Digital GoodId ac_SerialKeys.DigitalGoodId ac_ProductDigitalGoods.DigitalG oodId
ac_DigitalGoods_ac_SerialKeys_FK1 ac_DigitalGoods_ac_ProductDigitalGoods_FK1
Parent ac_Readmes.ReadmeId ac_LicenseAgreements.LicenseAg reementId ac_Stores.StoreId DigitalGoodId DigitalGoodId DigitalGoodId
Foreign key details (child) ac_Readmes_ac_DigitalGoods_FK1 Definition:
Child ReadmeId
Parent ac_Readmes.ReadmeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Readmes_ac_DigitalGoods_FK1
ac_LicenseAgreements_ac_DigitalGoods_FK1 Definition:
Child LicenseAgreementId
Parent ac_LicenseAgreements.LicenseAgreementId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_LicenseAgreements_ac_DigitalGoods_FK1
ac_Stores_ac_DigitalGoods_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_DigitalGoods_FK1
27
AbleCommerce 7.0 Database Schema Foreign key details (parent) ac_OrderItemDigitalGoods_ac_DigitalGoods_FK1 Definition:
Child Parent ac_OrderItemDigitalGoods.DigitalGoodId DigitalGoodId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_OrderItemDigitalGoods_ac_DigitalGoods_FK1
ac_DigitalGoods_ac_SerialKeys_FK1 Definition:
Child ac_SerialKeys.DigitalGoodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_DigitalGoods_ac_SerialKeys_FK1
Parent DigitalGoodId
ac_DigitalGoods_ac_ProductDigitalGoods_FK1 Definition:
Child Parent ac_ProductDigitalGoods.DigitalGoodId DigitalGoodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_DigitalGoods_ac_ProductDigitalGoods_FK1
28
AbleCommerce 7.0 Database Schema
ac_Downloads Columns DownloadId OrderItemDigitalGoodId (FK) DownloadDate RemoteAddr UserAgent Referrer Foreign keys ac_OrderFiles_ac_Downloads_FK1
Data type int identity int datetime nvarchar(15) nvarchar(255) nvarchar(255)
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed
Child OrderItemDigitalGoodId
Value/Range
Parent ac_OrderItemDigitalGoods.OrderItemDigita lGoodId
Foreign key details (child) ac_OrderFiles_ac_Downloads_FK1 Definition:
Child OrderItemDigitalGoodId
Parent ac_OrderItemDigitalGoods.OrderItemDigitalGoodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderFiles_ac_Downloads_FK1
29
AbleCommerce 7.0 Database Schema
ac_EmailLists Columns EmailListId StoreId (FK) Name Description IsPublic SignupRuleId SignupEmailTemplateId LastSendDate
Data type int identity int nvarchar(100) nvarchar(255) bit smallint int datetime
Foreign keys ac_Stores_ac_EmailLists_FK1 ac_EmailLists_ac_EmailListSignups_FK1 ac_EmailLists_ac_EmailListUsers_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Not allowed Allowed Allowed
Value/Range
Child StoreId ac_EmailListSignups.EmailListId ac_EmailListUsers.EmailListId
Foreign key details (child) ac_Stores_ac_EmailLists_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_EmailLists_FK1
Foreign key details (parent) ac_EmailLists_ac_EmailListSignups_FK1 Definition:
Child ac_EmailListSignups.EmailListId
Parent EmailListId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_EmailLists_ac_EmailListSignups_FK1
ac_EmailLists_ac_EmailListUsers_FK1 Definition:
Child ac_EmailListUsers.EmailListId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_EmailLists_ac_EmailListUsers_FK1
30
Parent EmailListId
Parent ac_Stores.StoreId EmailListId EmailListId
AbleCommerce 7.0 Database Schema
ac_EmailListSignups Columns EmailListSignupId EmailListId (FK) Email SignupDate
Data type int identity int nvarchar(255) datetime
Foreign keys ac_EmailLists_ac_EmailListSignups_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed
Value/Range
Child EmailListId
Parent ac_EmailLists.EmailListId
Foreign key details (child) ac_EmailLists_ac_EmailListSignups_FK1 Definition:
Child EmailListId
Parent ac_EmailLists.EmailListId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_EmailLists_ac_EmailListSignups_FK1
31
AbleCommerce 7.0 Database Schema
ac_EmailListUsers Columns EmailListId (FK) Email SignupDate SignupIP LastSendDate FailureCount
Data type int nvarchar(255) datetime varchar(15) datetime smallint
Foreign keys ac_EmailLists_ac_EmailListUsers_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Allowed Not allowed
Value/Range
Child EmailListId
Parent ac_EmailLists.EmailListId
Foreign key details (child) ac_EmailLists_ac_EmailListUsers_FK1 Definition:
Child EmailListId
Parent ac_EmailLists.EmailListId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_EmailLists_ac_EmailListUsers_FK1
32
AbleCommerce 7.0 Database Schema
ac_EmailTemplates Columns EmailTemplateId StoreId (FK) Name ToAddress FromAddress ReplyToAddress CCList BCCList Subject Body IsHTML
Data type int identity int nvarchar(100) nvarchar(255) nvarchar(255) nvarchar(255) nvarchar(255) nvarchar(255) nvarchar(255) nvarchar(max) bit
Foreign keys ac_Stores_ac_Emails_FK1 ac_Emails_ac_EmailEventAssn_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Not allowed
Value/Range
Child StoreId ac_EmailTemplateTriggers.EmailTemplat eId ac_OrderStatusEmails.EmailTemplateId
ac_Emails_ac_OrderStatusEmails_FK1
Parent ac_Stores.StoreId EmailTemplateId EmailTemplateId
Foreign key details (child) ac_Stores_ac_Emails_FK1 Definition:
Child StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Emails_FK1
Parent ac_Stores.StoreId
Foreign key details (parent) ac_Emails_ac_EmailEventAssn_FK1 Definition:
Cardinality: Allow NULLs: Physical name:
Child Parent ac_EmailTemplateTriggers.EmailTemplateId
EmailTemplateId
One -to- Zero-or-More Not allowed ac_Emails_ac_EmailEventAssn_FK1
ac_Emails_ac_OrderStatusEmails_FK1 Definition:
Child Parent ac_OrderStatusEmails.EmailTemplateId EmailTemplateId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Emails_ac_OrderStatusEmails_FK1
33
AbleCommerce 7.0 Database Schema
ac_EmailTemplateTriggers Columns EmailTemplateId (FK) StoreEventId Foreign keys ac_Emails_ac_EmailEventAssn_FK1
Data type int int
Allow NULLs Not allowed Not allowed
Child EmailTemplateId
Value/Range
Parent ac_EmailTemplates.EmailTemplateId
Foreign key details (child) ac_Emails_ac_EmailEventAssn_FK1 Definition:
Child EmailTemplateId
Parent ac_EmailTemplates.EmailTemplateId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Emails_ac_EmailEventAssn_FK1
34
AbleCommerce 7.0 Database Schema
ac_ErrorMessages Columns ErrorMessageId EntryDate StoreId (FK) MessageSeverityId Text DebugData
Data type int identity datetime int tinyint nvarchar(255) nvarchar(max)
Foreign keys ac_Stores_ac_ErrorMessages_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Allowed
Value/Range
Child StoreId
Parent ac_Stores.StoreId
Foreign key details (child) ac_Stores_ac_ErrorMessages_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_ErrorMessages_FK1
35
AbleCommerce 7.0 Database Schema
ac_GiftCertificates Columns GiftCertificateId StoreId (FK) Name SerialNumber CreatedBy CreateDate OrderItemId (FK) ExpirationDate Balance
Data type int identity int nvarchar(100) nvarchar(40) int datetime int datetime decimal(12,4)
Allow NULLs Not allowed Not allowed Allowed Not allowed Not allowed Not allowed Allowed Allowed Not allowed
Foreign keys ac_Stores_ac_GiftCertificates_FK1 ac_OrderItems_ac_GiftCertificates_FK1 ac_GiftCertificates_ac_GiftCertificateTransactions_FK1
Value/Range
Child StoreId OrderItemId ac_GiftCertificateTransaction s.GiftCertificateId
Foreign key details (child) ac_Stores_ac_GiftCertificates_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_GiftCertificates_FK1
ac_OrderItems_ac_GiftCertificates_FK1 Definition:
Child OrderItemId
Parent ac_OrderItems.OrderItemId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_OrderItems_ac_GiftCertificates_FK1
Foreign key details (parent) ac_GiftCertificates_ac_GiftCertificateTransactions_FK1 Definition:
Cardinality: Allow NULLs: Physical name:
Child Parent ac_GiftCertificateTransactions.GiftCertificateId
GiftCertificateId
One -to- Zero-or-More Not allowed ac_GiftCertificates_ac_GiftCertificateTransactions_FK1
36
Parent ac_Stores.StoreId ac_OrderItems.OrderItemId GiftCertificateId
AbleCommerce 7.0 Database Schema
ac_GiftCertificateTransactions Columns GiftCertificateTransactionId GiftCertificateId (FK) OrderId (FK) TransactionDate Amount Description
Data type int identity int int datetime decimal(12,4) nvarchar(255)
Allow NULLs Not allowed Not allowed Allowed Not allowed Not allowed Allowed
Value/Range
Foreign keys ac_GiftCertificates_ac_GiftCertificateTransactions_FK1
Child GiftCertificateId
ac_Orders_ac_GiftCertificateTransactions_FK1
OrderId
Parent ac_GiftCertificates.GiftCertifi cateId ac_Orders.OrderId
Foreign key details (child) ac_GiftCertificates_ac_GiftCertificateTransactions_FK1 Definition:
Child GiftCertificateId
Parent ac_GiftCertificates.GiftCertificateId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_GiftCertificates_ac_GiftCertificateTransactions_FK1
ac_Orders_ac_GiftCertificateTransactions_FK1 Definition:
Child OrderId
Parent ac_Orders.OrderId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Orders_ac_GiftCertificateTransactions_FK1
37
AbleCommerce 7.0 Database Schema
ac_GroupRoles Columns GroupId (FK) RoleId (FK) Foreign keys ac_Groups_ac_GroupRoles_FK1 ac_Roles_ac_GroupRoles_FK1
Data type int int
Allow NULLs Not allowed Not allowed
Value/Range
Child GroupId RoleId
Parent ac_Groups.GroupId ac_Roles.RoleId
Foreign key details (child) ac_Groups_ac_GroupRoles_FK1 Definition:
Child GroupId
Parent ac_Groups.GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_GroupRoles_FK1
ac_Roles_ac_GroupRoles_FK1 Definition:
Child RoleId
Parent ac_Roles.RoleId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Roles_ac_GroupRoles_FK1
38
AbleCommerce 7.0 Database Schema
ac_Groups Columns GroupId StoreId (FK) Name Description IsTaxExempt IsReadOnly
Data type int identity int nvarchar(100) nvarchar(255) bit bit
Foreign keys ac_Stores_ac_Groups_FK1 ac_Groups_ac_CouponGroups_FK1 ac_Groups_ac_PaymentMethodGroups_FK1 ac_Groups_ac_VendorGroups_FK1 ac_Groups_ac_ShipMethodGroups_FK1 ac_Groups_ac_SpecialGroups_FK1 ac_Groups_ac_UserGroups_FK1 ac_Groups_ac_VolumeDiscountGroups_FK1 ac_Groups_ac_SubscriptionPlans_FK1 ac_Groups_ac_GroupRoles_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Not allowed
Value/Range
Child StoreId ac_CouponGroups.GroupId ac_PaymentMethodGroups.GroupId ac_VendorGroups.GroupId ac_ShipMethodGroups.GroupId ac_SpecialGroups.GroupId ac_UserGroups.GroupId ac_VolumeDiscountGroups.GroupId ac_SubscriptionPlans.GroupId ac_GroupRoles.GroupId
Foreign key details (child) ac_Stores_ac_Groups_FK1 Definition:
Child StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Groups_FK1
Parent ac_Stores.StoreId
Foreign key details (parent) ac_Groups_ac_CouponGroups_FK1 Definition:
Child ac_CouponGroups.GroupId
Parent GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_CouponGroups_FK1
ac_Groups_ac_PaymentMethodGroups_FK1 Definition:
Child ac_PaymentMethodGroups.GroupId
Parent GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_PaymentMethodGroups_FK1
ac_Groups_ac_VendorGroups_FK1 Definition:
Child ac_VendorGroups.GroupId
Parent GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_VendorGroups_FK1
ac_Groups_ac_ShipMethodGroups_FK1
39
Parent ac_Stores.StoreId GroupId GroupId GroupId GroupId GroupId GroupId GroupId GroupId GroupId
AbleCommerce 7.0 Database Schema Definition:
Child ac_ShipMethodGroups.GroupId
Parent GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_ShipMethodGroups_FK1
ac_Groups_ac_SpecialGroups_FK1 Definition:
Child ac_SpecialGroups.GroupId
Parent GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_SpecialGroups_FK1
ac_Groups_ac_UserGroups_FK1 Definition:
Child ac_UserGroups.GroupId
Parent GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_UserGroups_FK1
ac_Groups_ac_VolumeDiscountGroups_FK1 Definition:
Child ac_VolumeDiscountGroups.GroupId
Parent GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_VolumeDiscountGroups_FK1
ac_Groups_ac_SubscriptionPlans_FK1 Definition:
Child ac_SubscriptionPlans.GroupId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Groups_ac_SubscriptionPlans_FK1
Parent GroupId
ac_Groups_ac_GroupRoles_FK1 Definition:
Child ac_GroupRoles.GroupId
Parent GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_GroupRoles_FK1
40
AbleCommerce 7.0 Database Schema
ac_InputChoices Columns InputChoiceId InputFieldId (FK) ChoiceText ChoiceValue IsSelected OrderBy
Data type int identity int nvarchar(100) nvarchar(100) bit smallint
Foreign keys ac_InputFields_ac_InputChoices_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Not allowed
Child InputFieldId
Value/Range
Parent ac_InputFields.InputFieldId
Foreign key details (child) ac_InputFields_ac_InputChoices_FK1 Definition:
Child InputFieldId
Parent ac_InputFields.InputFieldId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_InputFields_ac_InputChoices_FK1
41
AbleCommerce 7.0 Database Schema
ac_InputFields Columns InputFieldId ProductTemplateId (FK) Name UserPrompt InputTypeId Rows Columns MaxLength IsRequired RequiredMessage IsMerchantField OrderBy
Data type int identity int nvarchar(100) nvarchar(255) smallint tinyint tinyint smallint bit text bit smallint
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Allowed Not allowed Not allowed
Value/Range
Foreign keys ac_ProductTemplates_ac_InputFields_FK1
Child ProductTemplateId
ac_InputFields_ac_BasketItemInputs_FK1 ac_InputFields_ac_InputChoices_FK1 ac_InputFields_ac_ProductTemplateFields_FK1
ac_BasketItemInputs.InputFieldId ac_InputChoices.InputFieldId ac_ProductTemplateFields.InputFie ldId ac_WishlistItemInputs.InputFieldId
ac_InputFields_ac_WishlistItemInputs_FK1
Parent ac_ProductTemplates.ProductTemp lateId InputFieldId InputFieldId InputFieldId InputFieldId
Foreign key details (child) ac_ProductTemplates_ac_InputFields_FK1 Definition:
Child ProductTemplateId
Parent ac_ProductTemplates.ProductTemplateId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ProductTemplates_ac_InputFields_FK1
Foreign key details (parent) ac_InputFields_ac_BasketItemInputs_FK1 Definition:
Child ac_BasketItemInputs.InputFieldId
Parent InputFieldId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_InputFields_ac_BasketItemInputs_FK1
ac_InputFields_ac_InputChoices_FK1 Definition:
Child ac_InputChoices.InputFieldId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_InputFields_ac_InputChoices_FK1
Parent InputFieldId
ac_InputFields_ac_ProductTemplateFields_FK1 Definition:
Child Parent ac_ProductTemplateFields.InputFieldId InputFieldId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_InputFields_ac_ProductTemplateFields_FK1
42
AbleCommerce 7.0 Database Schema ac_InputFields_ac_WishlistItemInputs_FK1 Definition:
Child ac_WishlistItemInputs.InputFieldId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_InputFields_ac_WishlistItemInputs_FK1
43
Parent InputFieldId
AbleCommerce 7.0 Database Schema
ac_IPLocations Notes: Columns IPRangeStart IPRangeEnd CountryCode Region City
Stores data from IP2Location database (either DB1 or DB3) for use in IP lookups. Data type bigint bigint char(2) varchar(128) varchar(128)
Allow NULLs Not allowed Not allowed Not allowed Allowed Allowed
44
Value/Range
AbleCommerce 7.0 Database Schema
ac_KitComponents Columns KitComponentId StoreId (FK) Name UserPrompt InputTypeId Columns HeaderOption
Data type int identity int nvarchar(100) nvarchar(255) smallint tinyint nvarchar(100)
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Not allowed Allowed
Foreign keys ac_Stores_ac_KitComponents_FK1 ac_KitComponents_ac_KitProduct_FK1 ac_KitComponents_ac_ProductKitComponents_FK1
Value/Range
Child StoreId ac_KitProducts.KitComponentId ac_ProductKitComponents.KitC omponentId
Foreign key details (child) ac_Stores_ac_KitComponents_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_KitComponents_FK1
Foreign key details (parent) ac_KitComponents_ac_KitProduct_FK1 Definition:
Child ac_KitProducts.KitComponentId
Parent KitComponentId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_KitComponents_ac_KitProduct_FK1
ac_KitComponents_ac_ProductKitComponents_FK1 Definition:
Child Parent ac_ProductKitComponents.KitComponentId KitComponentId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_KitComponents_ac_ProductKitComponents_FK1
45
Parent ac_Stores.StoreId KitComponentId KitComponentId
AbleCommerce 7.0 Database Schema
ac_KitProducts Columns KitProductId KitComponentId (FK) ProductId OptionList Name Quantity Price PriceModeId Weight WeightModeId IsSelected OrderBy
Data type int identity int int varchar(255) nvarchar(100) smallint decimal(12,4) tinyint decimal(12,4) tinyint bit smallint
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed
Value/Range
Foreign keys ac_KitComponents_ac_KitProduct_FK1
Child KitComponentId
ac_KitProduct_ac_BasketItemKitProducts_FK1
ac_BasketItemKitProducts.KitProd uctId ac_WishlistItemKitProducts.KitPro ductId
ac_KitProduct_ac_WishlistItemKitProducts_FK1
Parent ac_KitComponents.KitComponentI d KitProductId KitProductId
Foreign key details (child) ac_KitComponents_ac_KitProduct_FK1 Definition:
Child KitComponentId
Parent ac_KitComponents.KitComponentId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_KitComponents_ac_KitProduct_FK1
Foreign key details (parent) ac_KitProduct_ac_BasketItemKitProducts_FK1 Definition:
Child Parent ac_BasketItemKitProducts.KitProductId KitProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_KitProduct_ac_BasketItemKitProducts_FK1
ac_KitProduct_ac_WishlistItemKitProducts_FK1 Definition:
Child Parent ac_WishlistItemKitProducts.KitProductId KitProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_KitProduct_ac_WishlistItemKitProducts_FK1
46
AbleCommerce 7.0 Database Schema
ac_LicenseAgreements Columns LicenseAgreementId StoreId (FK) DisplayName AgreementText IsHTML
Data type int identity int nvarchar(100) nvarchar(max) bit
Foreign keys ac_Stores_ac_LicenseAgreements_FK1 ac_LicenseAgreements_ac_DigitalGoods_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed
Value/Range
Child StoreId ac_DigitalGoods.LicenseAgreementI d
Foreign key details (child) ac_Stores_ac_LicenseAgreements_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_LicenseAgreements_FK1
Foreign key details (parent) ac_LicenseAgreements_ac_DigitalGoods_FK1 Definition:
Child Parent ac_DigitalGoods.LicenseAgreementId LicenseAgreementId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_LicenseAgreements_ac_DigitalGoods_FK1
47
Parent ac_Stores.StoreId LicenseAgreementId
AbleCommerce 7.0 Database Schema
ac_Links Columns LinkId StoreId (FK) Name TargetUrl TargetWindow Summary Description ThumbnailUrl ThumbnailAltText DisplayPage Theme HtmlHead VisibilityId
Data type int identity int nvarchar(100) varchar(255) varchar(40) nvarchar(max) nvarchar(max) varchar(255) nvarchar(255) varchar(100) varchar(100) nvarchar(max) tinyint
Foreign keys ac_Stores_ac_Links_FK1
Child StoreId
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed
Value/Range
Parent ac_Stores.StoreId
Foreign key details (child) ac_Stores_ac_Links_FK1 Definition:
Child StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Links_FK1
Parent ac_Stores.StoreId
48
AbleCommerce 7.0 Database Schema
ac_Manufacturers Columns ManufacturerId StoreId (FK) Name
Data type int identity int nvarchar(255)
Foreign keys ac_Stores_ac_Manufacturers_FK1 ac_Manufacturers_ac_Products_FK1
Allow NULLs Not allowed Not allowed Not allowed
Value/Range
Child StoreId ac_Products.ManufacturerId
Foreign key details (child) ac_Stores_ac_Manufacturers_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Manufacturers_FK1
Foreign key details (parent) ac_Manufacturers_ac_Products_FK1 Definition:
Child ac_Products.ManufacturerId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Manufacturers_ac_Products_FK1
49
Parent ManufacturerId
Parent ac_Stores.StoreId ManufacturerId
AbleCommerce 7.0 Database Schema
ac_OptionChoices Columns OptionChoiceId OptionId (FK) Name ThumbnailUrl ImageUrl PriceModifier CogsModifier WeightModifier SkuModifier OrderBy
Data type int identity int nvarchar(100) varchar(255) varchar(255) decimal(10,2) decimal(10,2) decimal(10,2) nvarchar(20) smallint
Foreign keys ac_ProductAttributes_ac_AttributeOptions_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed
Value/Range
Child OptionId
Parent ac_Options.OptionId
Foreign key details (child) ac_ProductAttributes_ac_AttributeOptions_FK1 Definition:
Child OptionId
Parent ac_Options.OptionId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ProductAttributes_ac_AttributeOptions_FK1
50
AbleCommerce 7.0 Database Schema
ac_Options Columns OptionId Name ShowThumbnails ThumbnailColumns ThumbnailWidth ThumbnailHeight CreatedDate
Data type int identity nvarchar(100) bit tinyint smallint smallint datetime
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed
Foreign keys ac_ProductAttributes_ac_AttributeOptions_FK1 ac_Options_ac_ProductOptions_FK1
Value/Range
Child ac_OptionChoices.OptionId ac_ProductOptions.OptionId
Foreign key details (parent) ac_ProductAttributes_ac_AttributeOptions_FK1 Definition:
Child ac_OptionChoices.OptionId
Parent OptionId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ProductAttributes_ac_AttributeOptions_FK1
ac_Options_ac_ProductOptions_FK1 Definition:
Child ac_ProductOptions.OptionId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Options_ac_ProductOptions_FK1
51
Parent OptionId
Parent OptionId OptionId
AbleCommerce 7.0 Database Schema
ac_OrderCoupons Columns OrderId (FK) CouponCode
Data type int nvarchar(50)
Foreign keys ac_Orders_ac_OrderCoupons_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child OrderId
Parent ac_Orders.OrderId
Foreign key details (child) ac_Orders_ac_OrderCoupons_FK1 Definition:
Child OrderId
Parent ac_Orders.OrderId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Orders_ac_OrderCoupons_FK1
52
AbleCommerce 7.0 Database Schema
ac_OrderItemDigitalGoods Columns OrderItemDigitalGoodId OrderItemId (FK) DigitalGoodId (FK) Name ActivationDate DownloadDate SerialKeyData
Data type int identity int int nvarchar(100) datetime datetime nvarchar(max)
Foreign keys ac_OrderItemDigitalGoods_ac_DigitalGoods_FK1 ac_OrderItems_ac_OrderItemDigitalGoods_FK1 ac_OrderFiles_ac_Downloads_FK1
Allow NULLs Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed
Value/Range
Child DigitalGoodId OrderItemId ac_Downloads.OrderItemDigitalG oodId
Parent ac_DigitalGoods.DigitalGoodId ac_OrderItems.OrderItemId OrderItemDigitalGoodId
Foreign key details (child) ac_OrderItemDigitalGoods_ac_DigitalGoods_FK1 Definition:
Child DigitalGoodId
Parent ac_DigitalGoods.DigitalGoodId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_OrderItemDigitalGoods_ac_DigitalGoods_FK1
ac_OrderItems_ac_OrderItemDigitalGoods_FK1 Definition:
Child OrderItemId
Parent ac_OrderItems.OrderItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderItems_ac_OrderItemDigitalGoods_FK1
Foreign key details (parent) ac_OrderFiles_ac_Downloads_FK1 Definition:
Child Parent ac_Downloads.OrderItemDigitalGoodId OrderItemDigitalGoodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderFiles_ac_Downloads_FK1
53
AbleCommerce 7.0 Database Schema
ac_OrderItemInputs Columns OrderItemInputId OrderItemId (FK) Name InputValue
Data type int identity int nvarchar(100) nvarchar(max)
Foreign keys ac_OrderItems_ac_OrderItemInputs_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed
Value/Range
Child OrderItemId
Parent ac_OrderItems.OrderItemId
Foreign key details (child) ac_OrderItems_ac_OrderItemInputs_FK1 Definition:
Child OrderItemId
Parent ac_OrderItems.OrderItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderItems_ac_OrderItemInputs_FK1
54
AbleCommerce 7.0 Database Schema
ac_OrderItems Columns OrderItemId OrderId (FK) ParentItemId OrderItemTypeId ShippableId OrderShipmentId (FK) ProductId (FK) Name OptionList VariantName Sku Price Weight CostOfGoods Quantity LineMessage OrderBy GiftMessage TaxCodeId (FK) WrapStyleId (FK) WishlistItemId (FK) InventoryStatusId
Data type int identity int int smallint tinyint int int nvarchar(100) varchar(255) nvarchar(255) nvarchar(100) decimal(12,4) decimal(12,4) decimal(12,4) smallint nvarchar(255) smallint nvarchar(255) int int int smallint
Allow NULLs Not allowed Not allowed Allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed Not allowed Not allowed Not allowed Allowed Not allowed Allowed Allowed Allowed Allowed Not allowed
Value/Range
Foreign keys ac_Orders_ac_OrderItems_FK1 ac_OrderShipments_ac_OrderItems_FK1
Child OrderId OrderShipmentId
ac_Products_ac_OrderItems_FK1 ac_TaxCodes_ac_OrderItems_FK1 ac_WishlistItems_ac_OrderItems_FK1 ac_WrapStyles_ac_OrderItems_FK1 ac_OrderItems_ac_OrderItemDigitalGoods_FK1
ProductId TaxCodeId WishlistItemId WrapStyleId ac_OrderItemDigitalGoods.OrderIt emId ac_OrderItemInputs.OrderItemId ac_Subscriptions.OrderItemId ac_GiftCertificates.OrderItemId
ac_OrderItems_ac_OrderItemInputs_FK1 ac_OrderItems_ac_Subscriptions_FK1 ac_OrderItems_ac_GiftCertificates_FK1
Parent ac_Orders.OrderId ac_OrderShipments.OrderShipmen tId ac_Products.ProductId ac_TaxCodes.TaxCodeId ac_WishlistItems.WishlistItemId ac_WrapStyles.WrapStyleId OrderItemId OrderItemId OrderItemId OrderItemId
Foreign key details (child) ac_Orders_ac_OrderItems_FK1 Definition:
Child OrderId
Parent ac_Orders.OrderId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Orders_ac_OrderItems_FK1
ac_OrderShipments_ac_OrderItems_FK1 Definition:
Child OrderShipmentId
Parent ac_OrderShipments.OrderShipmentId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_OrderShipments_ac_OrderItems_FK1
ac_Products_ac_OrderItems_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
55
AbleCommerce 7.0 Database Schema Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Products_ac_OrderItems_FK1
ac_TaxCodes_ac_OrderItems_FK1 Definition:
Child TaxCodeId
Parent ac_TaxCodes.TaxCodeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_TaxCodes_ac_OrderItems_FK1
ac_WishlistItems_ac_OrderItems_FK1 Definition:
Child WishlistItemId
Parent ac_WishlistItems.WishlistItemId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_WishlistItems_ac_OrderItems_FK1
ac_WrapStyles_ac_OrderItems_FK1 Definition:
Child WrapStyleId
Parent ac_WrapStyles.WrapStyleId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_WrapStyles_ac_OrderItems_FK1
Foreign key details (parent) ac_OrderItems_ac_OrderItemDigitalGoods_FK1 Definition:
Child Parent ac_OrderItemDigitalGoods.OrderItemId OrderItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderItems_ac_OrderItemDigitalGoods_FK1
ac_OrderItems_ac_OrderItemInputs_FK1 Definition:
Child ac_OrderItemInputs.OrderItemId
Parent OrderItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderItems_ac_OrderItemInputs_FK1
ac_OrderItems_ac_Subscriptions_FK1 Definition:
Child ac_Subscriptions.OrderItemId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_OrderItems_ac_Subscriptions_FK1
Parent OrderItemId
ac_OrderItems_ac_GiftCertificates_FK1 Definition:
Child ac_GiftCertificates.OrderItemId
56
Parent OrderItemId
AbleCommerce 7.0 Database Schema Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_OrderItems_ac_GiftCertificates_FK1
57
AbleCommerce 7.0 Database Schema
ac_OrderNotes Columns OrderNoteId OrderId (FK) UserId (FK) CreatedDate Comment NoteTypeId
Data type int identity int int datetime nvarchar(max) tinyint
Foreign keys ac_Orders_ac_OrderNotes_FK1 ac_Users_ac_OrderNotes_FK1
Allow NULLs Not allowed Not allowed Allowed Not allowed Not allowed Not allowed
Value/Range
Child OrderId UserId
Parent ac_Orders.OrderId ac_Users.UserId
Foreign key details (child) ac_Orders_ac_OrderNotes_FK1 Definition:
Child OrderId
Parent ac_Orders.OrderId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Orders_ac_OrderNotes_FK1
ac_Users_ac_OrderNotes_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Users_ac_OrderNotes_FK1
58
AbleCommerce 7.0 Database Schema
ac_Orders Columns OrderId OrderDate StoreId (FK) UserId (FK) AffiliateId (FK) BillToFirstName BillToLastName BillToCompany BillToAddress1 BillToAddress2 BillToCity BillToProvince BillToPostalCode BillToCountryCode BillToPhone BillToFax BillToEmail ProductSubtotal TotalCharges TotalPayments OrderStatusId (FK) Exported RemoteIP Referrer GoogleOrderNumber PaymentStatusId ShipmentStatusId
Data type int datetime int int int nvarchar(30) nvarchar(50) nvarchar(50) nvarchar(255) nvarchar(255) nvarchar(50) nvarchar(50) nvarchar(15) nchar(2) nvarchar(50) nvarchar(50) nvarchar(255) decimal(12,4) decimal(12,4) decimal(12,4) int bit varchar(15) nvarchar(255) nvarchar(50) tinyint tinyint
Foreign keys ac_Affiliates_ac_Orders_FK1 ac_OrderStatuses_ac_Orders_FK1 ac_Stores_ac_Orders_FK1 ac_Users_ac_Orders_FK1 ac_Orders_ac_GiftCertificateTransactions_FK1 ac_Orders_ac_OrderCoupons_FK1 ac_Orders_ac_OrderItems_FK1 ac_Orders_ac_OrderNotes_FK1 ac_Orders_ac_Shipments_FK1 ac_Orders_ac_Payments_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Not allowed Not allowed
Value/Range
Child AffiliateId OrderStatusId StoreId UserId ac_GiftCertificateTransactions.Ord erId ac_OrderCoupons.OrderId ac_OrderItems.OrderId ac_OrderNotes.OrderId ac_OrderShipments.OrderId ac_Payments.OrderId
Parent ac_Affiliates.AffiliateId ac_OrderStatuses.OrderStatusId ac_Stores.StoreId ac_Users.UserId OrderId OrderId OrderId OrderId OrderId OrderId
Foreign key details (child) ac_Affiliates_ac_Orders_FK1 Definition:
Child AffiliateId
Parent ac_Affiliates.AffiliateId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Affiliates_ac_Orders_FK1
ac_OrderStatuses_ac_Orders_FK1 Definition:
Child OrderStatusId
Parent ac_OrderStatuses.OrderStatusId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderStatuses_ac_Orders_FK1
59
AbleCommerce 7.0 Database Schema ac_Stores_ac_Orders_FK1 Definition:
Child StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Orders_FK1
Parent ac_Stores.StoreId
ac_Users_ac_Orders_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Users_ac_Orders_FK1
Foreign key details (parent) ac_Orders_ac_GiftCertificateTransactions_FK1 Definition:
Child Parent ac_GiftCertificateTransactions.OrderId OrderId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Orders_ac_GiftCertificateTransactions_FK1
ac_Orders_ac_OrderCoupons_FK1 Definition:
Child ac_OrderCoupons.OrderId
Parent OrderId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Orders_ac_OrderCoupons_FK1
ac_Orders_ac_OrderItems_FK1 Definition:
Child ac_OrderItems.OrderId
Parent OrderId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Orders_ac_OrderItems_FK1
ac_Orders_ac_OrderNotes_FK1 Definition:
Child ac_OrderNotes.OrderId
Parent OrderId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Orders_ac_OrderNotes_FK1
ac_Orders_ac_Shipments_FK1 Definition:
Child ac_OrderShipments.OrderId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Orders_ac_Shipments_FK1
ac_Orders_ac_Payments_FK1
60
Parent OrderId
AbleCommerce 7.0 Database Schema Definition:
Child ac_Payments.OrderId
Parent OrderId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Orders_ac_Payments_FK1
61
AbleCommerce 7.0 Database Schema
ac_OrderShipments Columns OrderShipmentId OrderId (FK) WarehouseId (FK) ShipToFirstName ShipToLastName ShipToCompany ShipToAddress1 ShipToAddress2 ShipToCity ShipToProvince ShipToPostalCode ShipToCountryCode ShipToPhone ShipToFax ShipToEmail ShipToResidence ShipMethodId (FK) ShipMethodName ShipMessage ShipDate
Data type int identity int int nvarchar(30) nvarchar(50) nvarchar(50) nvarchar(255) nvarchar(255) nvarchar(50) nvarchar(50) nvarchar(15) nchar(2) nvarchar(50) nvarchar(50) nvarchar(255) bit int nvarchar(255) nvarchar(255) datetime
Foreign keys ac_Orders_ac_Shipments_FK1 ac_ShipMethods_ac_OrderShipments_FK1 ac_Warehouses_ac_Shipments_FK1 ac_OrderShipments_ac_OrderItems_FK1 ac_Shipments_ac_Tracking_FK1
Allow NULLs Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed
Value/Range
Child OrderId ShipMethodId WarehouseId ac_OrderItems.OrderShipmentId ac_TrackingNumbers.OrderShipmentId
Parent ac_Orders.OrderId ac_ShipMethods.ShipMethodId ac_Warehouses.WarehouseId OrderShipmentId OrderShipmentId
Foreign key details (child) ac_Orders_ac_Shipments_FK1 Definition:
Child OrderId
Parent ac_Orders.OrderId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Orders_ac_Shipments_FK1
ac_ShipMethods_ac_OrderShipments_FK1 Definition:
Child ShipMethodId
Parent ac_ShipMethods.ShipMethodId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_ShipMethods_ac_OrderShipments_FK1
ac_Warehouses_ac_Shipments_FK1 Definition:
Child WarehouseId
Parent ac_Warehouses.WarehouseId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Warehouses_ac_Shipments_FK1
Foreign key details (parent) ac_OrderShipments_ac_OrderItems_FK1
62
AbleCommerce 7.0 Database Schema Definition:
Child ac_OrderItems.OrderShipmentId
Parent OrderShipmentId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_OrderShipments_ac_OrderItems_FK1
ac_Shipments_ac_Tracking_FK1 Definition:
Child Parent ac_TrackingNumbers.OrderShipmentId OrderShipmentId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Shipments_ac_Tracking_FK1
63
AbleCommerce 7.0 Database Schema
ac_OrderStatusActions Columns OrderStatusId (FK) OrderActionId
Data type int smallint
Foreign keys ac_OrderStatuses_ac_OrderStatusActions_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child OrderStatusId
Parent ac_OrderStatuses.OrderStatusId
Foreign key details (child) ac_OrderStatuses_ac_OrderStatusActions_FK1 Definition:
Child OrderStatusId
Parent ac_OrderStatuses.OrderStatusId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderStatuses_ac_OrderStatusActions_FK1
64
AbleCommerce 7.0 Database Schema
ac_OrderStatusEmails Columns OrderStatusId (FK) EmailTemplateId (FK)
Data type int int
Allow NULLs Not allowed Not allowed
Value/Range
Foreign keys ac_Emails_ac_OrderStatusEmails_FK1
Child EmailTemplateId
ac_OrderStatuses_ac_OrderStatusEmails_FK1
OrderStatusId
Parent ac_EmailTemplates.EmailTemplateI d ac_OrderStatuses.OrderStatusId
Foreign key details (child) ac_Emails_ac_OrderStatusEmails_FK1 Definition:
Child EmailTemplateId
Parent ac_EmailTemplates.EmailTemplateId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Emails_ac_OrderStatusEmails_FK1
ac_OrderStatuses_ac_OrderStatusEmails_FK1 Definition:
Child OrderStatusId
Parent ac_OrderStatuses.OrderStatusId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderStatuses_ac_OrderStatusEmails_FK1
65
AbleCommerce 7.0 Database Schema
ac_OrderStatuses Columns OrderStatusId StoreId (FK) Name DisplayName InventoryActionId IsActive IsValid OrderBy
Data type int identity int nvarchar(100) nvarchar(100) smallint bit bit smallint
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Not allowed Not allowed Not allowed
Foreign keys ac_Stores_ac_OrderStatuses_FK1 ac_OrderStatuses_ac_Orders_FK1 ac_OrderStatuses_ac_OrderStatusActions_FK1 ac_OrderStatuses_ac_OrderStatusEmails_FK1 ac_OrderStatuses_ac_OrderStatusTriggers_FK1
Value/Range
Child StoreId ac_Orders.OrderStatusId ac_OrderStatusActions.OrderStatu sId ac_OrderStatusEmails.OrderStatus Id ac_OrderStatusTriggers.OrderStatu sId
Foreign key details (child) ac_Stores_ac_OrderStatuses_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_OrderStatuses_FK1
Foreign key details (parent) ac_OrderStatuses_ac_Orders_FK1 Definition:
Child ac_Orders.OrderStatusId
Parent OrderStatusId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderStatuses_ac_Orders_FK1
ac_OrderStatuses_ac_OrderStatusActions_FK1 Definition:
Child Parent ac_OrderStatusActions.OrderStatusId OrderStatusId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderStatuses_ac_OrderStatusActions_FK1
ac_OrderStatuses_ac_OrderStatusEmails_FK1 Definition:
Child ac_OrderStatusEmails.OrderStatusId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderStatuses_ac_OrderStatusEmails_FK1
ac_OrderStatuses_ac_OrderStatusTriggers_FK1
66
Parent OrderStatusId
Parent ac_Stores.StoreId OrderStatusId OrderStatusId OrderStatusId OrderStatusId
AbleCommerce 7.0 Database Schema Definition:
Child Parent ac_OrderStatusTriggers.OrderStatusId OrderStatusId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderStatuses_ac_OrderStatusTriggers_FK1
67
AbleCommerce 7.0 Database Schema
ac_OrderStatusTriggers Columns StoreEventId OrderStatusId (FK)
Data type int int
Foreign keys ac_OrderStatuses_ac_OrderStatusTriggers_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child OrderStatusId
Parent ac_OrderStatuses.OrderStatusId
Foreign key details (child) ac_OrderStatuses_ac_OrderStatusTriggers_FK1 Definition:
Child OrderStatusId
Parent ac_OrderStatuses.OrderStatusId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_OrderStatuses_ac_OrderStatusTriggers_FK1
68
AbleCommerce 7.0 Database Schema
ac_PageViews Columns PageViewId StoreId (FK) ActivityDate RemoteIP RequestMethod UserId (FK) UriStem UriQuery TimeTaken UserAgent Referrer CatalogNodeId CatalogNodeTypeId Browser BrowserName BrowserPlatform BrowserVersion AffiliateId Foreign keys ac_Stores_ac_PageViews_FK1 ac_Users_ac_PageViews_FK1
Data type int identity int datetime varchar(15) nvarchar(4) int nvarchar(255) nvarchar(255) int nvarchar(255) nvarchar(255) int smallint nvarchar(150) nvarchar(100) nvarchar(40) nvarchar(40) int
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Allowed Not allowed Allowed Allowed Allowed Allowed Not allowed Not allowed Not allowed Not allowed Not allowed
Value/Range
Child StoreId UserId
Parent ac_Stores.StoreId ac_Users.UserId
Foreign key details (child) ac_Stores_ac_PageViews_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_PageViews_FK1
ac_Users_ac_PageViews_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_PageViews_FK1
69
AbleCommerce 7.0 Database Schema
ac_PaymentGateways Columns PaymentGatewayId StoreId (FK) Name ClassId ConfigData
Data type int identity int nvarchar(100) varchar(255) nvarchar(max)
Foreign keys ac_Stores_ac_PaymentGateways_FK1 ac_PaymentGateways_ac_PaymentMethods_FK1 ac_PaymentGateways_ac_Transactions_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed
Value/Range
Child StoreId ac_PaymentMethods.PaymentGate wayId ac_Transactions.PaymentGateway Id
Foreign key details (child) ac_Stores_ac_PaymentGateways_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_PaymentGateways_FK1
Foreign key details (parent) ac_PaymentGateways_ac_PaymentMethods_FK1 Definition:
Child Parent ac_PaymentMethods.PaymentGatewayId PaymentGatewayId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_PaymentGateways_ac_PaymentMethods_FK1
ac_PaymentGateways_ac_Transactions_FK1 Definition:
Child ac_Transactions.PaymentGatewayId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_PaymentGateways_ac_Transactions_FK1
70
Parent PaymentGatewayId
Parent ac_Stores.StoreId PaymentGatewayId PaymentGatewayId
AbleCommerce 7.0 Database Schema
ac_PaymentMethodGroups Columns PaymentMethodId (FK) GroupId (FK)
Data type int int
Allow NULLs Not allowed Not allowed
Value/Range
Foreign keys ac_PaymentMethods_ac_PaymentMethodsGroups_FK1
Child PaymentMethodId
ac_Groups_ac_PaymentMethodGroups_FK1
GroupId
Parent ac_PaymentMethods.Payment MethodId ac_Groups.GroupId
Foreign key details (child) ac_PaymentMethods_ac_PaymentMethodsGroups_FK1 Definition:
Child PaymentMethodId
Parent ac_PaymentMethods.PaymentMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_PaymentMethods_ac_PaymentMethodsGroups_FK1
ac_Groups_ac_PaymentMethodGroups_FK1 Definition:
Child GroupId
Parent ac_Groups.GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_PaymentMethodGroups_FK1
71
AbleCommerce 7.0 Database Schema
ac_PaymentMethods Columns PaymentMethodId StoreId (FK) Name PaymentInstrumentId PaymentGatewayId (FK) OrderBy
Data type int identity int nvarchar(100) smallint int smallint
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed Not allowed
Value/Range
Foreign keys ac_PaymentGateways_ac_PaymentMethods_FK1
Child PaymentGatewayId
ac_Stores_ac_PaymentMethods_FK1 ac_PaymentMethods_ac_PaymentMethodsGroups_FK1
StoreId ac_PaymentMethodGroups.Pa ymentMethodId ac_Payments.PaymentMethodI d
ac_PaymentMethods_ac_Payments_FK1
Parent ac_PaymentGateways.Paymen tGatewayId ac_Stores.StoreId PaymentMethodId PaymentMethodId
Foreign key details (child) ac_PaymentGateways_ac_PaymentMethods_FK1 Definition:
Child PaymentGatewayId
Parent ac_PaymentGateways.PaymentGatewayId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_PaymentGateways_ac_PaymentMethods_FK1
ac_Stores_ac_PaymentMethods_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_PaymentMethods_FK1
Foreign key details (parent) ac_PaymentMethods_ac_PaymentMethodsGroups_FK1 Definition:
Cardinality: Allow NULLs: Physical name:
Child Parent ac_PaymentMethodGroups.PaymentMethodId
PaymentMethodId
One -to- Zero-or-More Not allowed ac_PaymentMethods_ac_PaymentMethodsGroups_FK1
ac_PaymentMethods_ac_Payments_FK1 Definition:
Child ac_Payments.PaymentMethodId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_PaymentMethods_ac_Payments_FK1
72
Parent PaymentMethodId
AbleCommerce 7.0 Database Schema
ac_Payments Columns PaymentId OrderId (FK) SubscriptionId (FK) PaymentMethodId (FK) PaymentMethodName ReferenceNumber Amount CurrencyCode PaymentDate PaymentStatusId PaymentStatusReason CompletedDate EncryptedAccountData ReCrypt
Data type int identity int int int nvarchar(100) nvarchar(50) decimal(12,4) nvarchar(3) datetime smallint nvarchar(255) datetime nvarchar(max) bit
Foreign keys ac_Orders_ac_Payments_FK1 ac_PaymentMethods_ac_Payments_FK1 ac_Subscriptions_ac_Payments_FK1 ac_Payments_ac_Transactions_FK1
Allow NULLs Not allowed Not allowed Allowed Allowed Allowed Allowed Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Not allowed
Value/Range
Child OrderId PaymentMethodId SubscriptionId ac_Transactions.PaymentId
Parent ac_Orders.OrderId ac_PaymentMethods.PaymentMethodId ac_Subscriptions.SubscriptionId PaymentId
Foreign key details (child) ac_Orders_ac_Payments_FK1 Definition:
Child OrderId
Parent ac_Orders.OrderId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Orders_ac_Payments_FK1
ac_PaymentMethods_ac_Payments_FK1 Definition:
Child PaymentMethodId
Parent ac_PaymentMethods.PaymentMethodId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_PaymentMethods_ac_Payments_FK1
ac_Subscriptions_ac_Payments_FK1 Definition:
Child SubscriptionId
Parent ac_Subscriptions.SubscriptionId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Subscriptions_ac_Payments_FK1
Foreign key details (parent) ac_Payments_ac_Transactions_FK1 Definition:
Child ac_Transactions.PaymentId
Parent PaymentId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Payments_ac_Transactions_FK1
73
AbleCommerce 7.0 Database Schema
74
AbleCommerce 7.0 Database Schema
ac_PersonalizationPaths Columns PersonalizationPathId StoreId (FK) Path LoweredPath
Data type int identity int nvarchar(255) nvarchar(255)
Foreign keys ac_Stores_ac_Paths_FK1 ac_Paths_ac_SharedPersonalization_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed
Value/Range
Child StoreId ac_SharedPersonalization.Personalizati onPathId ac_UserPersonalization.Personalization PathId
ac_Paths_ac_UserPersonalization_FK1
Parent ac_Stores.StoreId PersonalizationPathId PersonalizationPathId
Foreign key details (child) ac_Stores_ac_Paths_FK1 Definition:
Child StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Paths_FK1
Parent ac_Stores.StoreId
Foreign key details (parent) ac_Paths_ac_SharedPersonalization_FK1 Definition:
Cardinality: Allow NULLs: Physical name:
Child Parent ac_SharedPersonalization.PersonalizationPathId
PersonalizationPathId
One -to- Exactly-1 Not allowed ac_Paths_ac_SharedPersonalization_FK1
ac_Paths_ac_UserPersonalization_FK1 Definition:
Cardinality: Allow NULLs: Physical name:
Child Parent ac_UserPersonalization.PersonalizationPathId One -to- Zero-or-More Not allowed ac_Paths_ac_UserPersonalization_FK1
75
PersonalizationPathId
AbleCommerce 7.0 Database Schema
ac_ProductAssets Columns ProductAssetId ProductId (FK) AssetUrl OrderBy
Data type int identity int nvarchar(255) smallint
Foreign keys ac_Products_ac_ProductAssets_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed
Child ProductId
Value/Range
Parent ac_Products.ProductId
Foreign key details (child) ac_Products_ac_ProductAssets_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductAssets_FK1
76
AbleCommerce 7.0 Database Schema
ac_ProductCustomFields Columns ProductFieldId ProductId (FK) IsUserDefined IsVisible FieldName FieldValue
Data type int identity int bit bit nvarchar(100) nvarchar(max)
Foreign keys ac_Products_ac_ProductCustomFields_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Allowed
Value/Range
Child ProductId
Parent ac_Products.ProductId
Foreign key details (child) ac_Products_ac_ProductCustomFields_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductCustomFields_FK1
77
AbleCommerce 7.0 Database Schema
ac_ProductDigitalGoods Columns ProductDigitalGoodId ProductId (FK) OptionList DigitalGoodId (FK)
Data type int identity int varchar(255) int
Foreign keys ac_Products_ac_DigitalGoods_FK1 ac_DigitalGoods_ac_ProductDigitalGoods_FK1
Allow NULLs Not allowed Not allowed Allowed Not allowed
Value/Range
Child ProductId DigitalGoodId
Parent ac_Products.ProductId ac_DigitalGoods.DigitalGoodId
Foreign key details (child) ac_Products_ac_DigitalGoods_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_DigitalGoods_FK1
ac_DigitalGoods_ac_ProductDigitalGoods_FK1 Definition:
Child DigitalGoodId
Parent ac_DigitalGoods.DigitalGoodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_DigitalGoods_ac_ProductDigitalGoods_FK1
78
AbleCommerce 7.0 Database Schema
ac_ProductImages Columns ProductImageId ProductId (FK) ImageUrl ImageAltText OrderBy
Data type int identity int varchar(255) nvarchar(100) smallint
Foreign keys ac_Products_ac_ProductImages_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed
Child ProductId
Value/Range
Parent ac_Products.ProductId
Foreign key details (child) ac_Products_ac_ProductImages_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductImages_FK1
79
AbleCommerce 7.0 Database Schema
ac_ProductKitComponents Columns ProductId (FK) KitComponentId (FK) OrderBy
Data type int int smallint
Allow NULLs Not allowed Not allowed Not allowed
Value/Range
Foreign keys ac_KitComponents_ac_ProductKitComponents_FK1
Child KitComponentId
ac_Products_ac_ProductKitComponents_FK1
ProductId
Parent ac_KitComponents.KitCompone ntId ac_Products.ProductId
Foreign key details (child) ac_KitComponents_ac_ProductKitComponents_FK1 Definition:
Child KitComponentId
Parent ac_KitComponents.KitComponentId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_KitComponents_ac_ProductKitComponents_FK1
ac_Products_ac_ProductKitComponents_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductKitComponents_FK1
80
AbleCommerce 7.0 Database Schema
ac_ProductOptions Columns ProductId (FK) OptionId (FK) OrderBy
Data type int int smallint
Foreign keys ac_Products_ac_ProductOptions_FK1 ac_Options_ac_ProductOptions_FK1
Allow NULLs Not allowed Not allowed Not allowed
Value/Range
Child ProductId OptionId
Parent ac_Products.ProductId ac_Options.OptionId
Foreign key details (child) ac_Products_ac_ProductOptions_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductOptions_FK1
ac_Options_ac_ProductOptions_FK1 Definition:
Child OptionId
Parent ac_Options.OptionId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Options_ac_ProductOptions_FK1
81
AbleCommerce 7.0 Database Schema
ac_ProductReviews Columns ProductReviewId ProductId (FK) ReviewerProfileId (FK) ReviewDate Rating ReviewTitle ReviewBody IsApproved
Data type int identity int int datetime tinyint nvarchar(100) nvarchar(max) bit
Foreign keys ac_Products_ac_ProductReviews_FK1 ac_ReviewerProfiles_ac_ProductReviews_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed
Value/Range
Child ProductId ReviewerProfileId
Parent ac_Products.ProductId ac_ReviewerProfiles.ReviewerProfil eId
Foreign key details (child) ac_Products_ac_ProductReviews_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductReviews_FK1
ac_ReviewerProfiles_ac_ProductReviews_FK1 Definition:
Child ReviewerProfileId
Parent ac_ReviewerProfiles.ReviewerProfileId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ReviewerProfiles_ac_ProductReviews_FK1
82
AbleCommerce 7.0 Database Schema
ac_Products Columns ProductId StoreId (FK) Name Price CostOfGoods MSRP Weight Length Width Height ManufacturerId (FK) Sku ModelNumber DisplayPage TaxCodeId (FK) ShippableId WarehouseId (FK) InventoryModeId InStock InStockWarningLevel ThumbnailUrl ThumbnailAltText ImageUrl ImageAltText Summary Description ExtendedDescription VendorId (FK) CreatedDate LastModifiedDate ProductTemplateId (FK) IsFeatured IsProhibited AllowReviews AllowBackorder WrapGroupId (FK) ExcludeFromFeed HtmlHead DisablePurchase MinQuantity MaxQuantity VisibilityId Theme IconUrl IconAltText IsGiftCertificate UseVariablePrice MinimumPrice MaximumPrice SearchKeywords HidePrice
Data type int identity int nvarchar(255) decimal(12,4) decimal(12,4) decimal(12,4) decimal(12,4) decimal(12,4) decimal(12,4) decimal(12,4) int nvarchar(40) nvarchar(40) varchar(100) int tinyint int tinyint int int varchar(255) nvarchar(100) varchar(255) nvarchar(100) nvarchar(max) nvarchar(max) nvarchar(max) int datetime datetime int bit bit bit bit int bit nvarchar(max) bit smallint smallint tinyint varchar(100) varchar(255) nvarchar(100) bit bit decimal(10,2) decimal(10,2) nvarchar(max) bit
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Not allowed Allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed Not allowed Allowed Not allowed Not allowed Not allowed Not allowed Allowed Not allowed Allowed Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Not allowed Not allowed Allowed Allowed Allowed Not allowed
Foreign keys ac_Manufacturers_ac_Products_FK1 ac_ProductTemplates_ac_Products_FK1
Child ManufacturerId ProductTemplateId
ac_Stores_ac_Products_FK1 ac_TaxCodes_ac_Products_FK1 ac_Vendors_ac_Products_FK1 ac_Warehouses_ac_Products_FK1
StoreId TaxCodeId VendorId WarehouseId
83
Value/Range
Parent ac_Manufacturers.ManufacturerId ac_ProductTemplates.ProductTempla teId ac_Stores.StoreId ac_TaxCodes.TaxCodeId ac_Vendors.VendorId ac_Warehouses.WarehouseId
AbleCommerce 7.0 Database Schema ac_WrapGroups_ac_Products_FK1 ac_Products_ac_BasketItems_FK1 ac_Products_ac_CouponProductAssn_FK1 ac_Products_ac_DigitalGoods_FK1 ac_Products_ac_OrderItems_FK1 ac_Products_ac_ProductAssets_FK1 ac_Products_ac_ProductTemplateFields_FK1 ac_Products_ac_ProductImages_FK1 ac_Products_ac_ProductKitComponents_FK1 ac_Products_ac_ProductReviews_FK1 ac_Products_ac_ProductVariations_FK1 ac_Products_ac_ProductDiscountAssn_FK1 ac_Products_ac_Specials_FK1 ac_Products_ac_WishlistItems_FK1 ac_Products_ac_SubscriptionPlans_FK1 ac_Products_ac_RelatedProducts_FK1 ac_Products_ac_RelatedProducts_FK2 ac_Products_ac_UpsellProducts_FK1 ac_Products_ac_ProductOptions_FK1 ac_Products_ac_ProductCustomFields_FK1
WrapGroupId ac_BasketItems.ProductId ac_CouponProducts.ProductId ac_ProductDigitalGoods.ProductId ac_OrderItems.ProductId ac_ProductAssets.ProductId ac_ProductTemplateFields.ProductId ac_ProductImages.ProductId ac_ProductKitComponents.ProductId ac_ProductReviews.ProductId ac_ProductVariants.ProductId ac_ProductVolumeDiscounts.Product Id ac_Specials.ProductId ac_WishlistItems.ProductId ac_SubscriptionPlans.ProductId ac_RelatedProducts.ProductId ac_RelatedProducts.ChildProductId ac_UpsellProducts.ProductId ac_ProductOptions.ProductId ac_ProductCustomFields.ProductId
ac_WrapGroups.WrapGroupId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId ProductId
Foreign key details (child) ac_Manufacturers_ac_Products_FK1 Definition:
Child ManufacturerId
Parent ac_Manufacturers.ManufacturerId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Manufacturers_ac_Products_FK1
ac_ProductTemplates_ac_Products_FK1 Definition:
Child ProductTemplateId
Parent ac_ProductTemplates.ProductTemplateId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_ProductTemplates_ac_Products_FK1
ac_Stores_ac_Products_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Products_FK1
ac_TaxCodes_ac_Products_FK1 Definition:
Child TaxCodeId
Parent ac_TaxCodes.TaxCodeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_TaxCodes_ac_Products_FK1
ac_Vendors_ac_Products_FK1 Definition:
Child VendorId
Parent ac_Vendors.VendorId
Cardinality: Allow NULLs:
Zero-or-One -to- Zero-or-More Allowed
84
AbleCommerce 7.0 Database Schema Physical name:
ac_Vendors_ac_Products_FK1
ac_Warehouses_ac_Products_FK1 Definition:
Child WarehouseId
Parent ac_Warehouses.WarehouseId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Warehouses_ac_Products_FK1
ac_WrapGroups_ac_Products_FK1 Definition:
Child WrapGroupId
Parent ac_WrapGroups.WrapGroupId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_WrapGroups_ac_Products_FK1
Foreign key details (parent) ac_Products_ac_BasketItems_FK1 Definition:
Child ac_BasketItems.ProductId
Parent ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_BasketItems_FK1
ac_Products_ac_CouponProductAssn_FK1 Definition:
Child ac_CouponProducts.ProductId
Parent ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_CouponProductAssn_FK1
ac_Products_ac_DigitalGoods_FK1 Definition:
Child ac_ProductDigitalGoods.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_DigitalGoods_FK1
Parent ProductId
ac_Products_ac_OrderItems_FK1 Definition:
Child ac_OrderItems.ProductId
Parent ProductId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Products_ac_OrderItems_FK1
ac_Products_ac_ProductAssets_FK1 Definition:
Child ac_ProductAssets.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductAssets_FK1
85
Parent ProductId
AbleCommerce 7.0 Database Schema ac_Products_ac_ProductTemplateFields_FK1 Definition:
Child ac_ProductTemplateFields.ProductId
Parent ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductTemplateFields_FK1
ac_Products_ac_ProductImages_FK1 Definition:
Child ac_ProductImages.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductImages_FK1
Parent ProductId
ac_Products_ac_ProductKitComponents_FK1 Definition:
Child ac_ProductKitComponents.ProductId
Parent ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductKitComponents_FK1
ac_Products_ac_ProductReviews_FK1 Definition:
Child ac_ProductReviews.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductReviews_FK1
Parent ProductId
ac_Products_ac_ProductVariations_FK1 Definition:
Child ac_ProductVariants.ProductId
Parent ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductVariations_FK1
ac_Products_ac_ProductDiscountAssn_FK1 Definition:
Child Parent ac_ProductVolumeDiscounts.ProductId ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductDiscountAssn_FK1
ac_Products_ac_Specials_FK1 Definition:
Child ac_Specials.ProductId
Parent ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_Specials_FK1
ac_Products_ac_WishlistItems_FK1
86
AbleCommerce 7.0 Database Schema Definition:
Child ac_WishlistItems.ProductId
Parent ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_WishlistItems_FK1
ac_Products_ac_SubscriptionPlans_FK1 Definition:
Child ac_SubscriptionPlans.ProductId
Parent ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Exactly-1 Not allowed ac_Products_ac_SubscriptionPlans_FK1
ac_Products_ac_RelatedProducts_FK1 Definition:
Child ac_RelatedProducts.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_RelatedProducts_FK1
Parent ProductId
ac_Products_ac_RelatedProducts_FK2 Definition:
Child ac_RelatedProducts.ChildProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_RelatedProducts_FK2
Parent ProductId
ac_Products_ac_UpsellProducts_FK1 Definition:
Child ac_UpsellProducts.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_UpsellProducts_FK1
Parent ProductId
ac_Products_ac_ProductOptions_FK1 Definition:
Child ac_ProductOptions.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductOptions_FK1
Parent ProductId
ac_Products_ac_ProductCustomFields_FK1 Definition:
Child ac_ProductCustomFields.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductCustomFields_FK1
87
Parent ProductId
AbleCommerce 7.0 Database Schema
ac_ProductTemplateFields Columns ProductTemplateFieldId ProductId (FK) InputFieldId (FK) InputValue
Data type int identity int int nvarchar(max)
Foreign keys ac_InputFields_ac_ProductTemplateFields_FK1 ac_Products_ac_ProductTemplateFields_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed
Value/Range
Child InputFieldId ProductId
Foreign key details (child) ac_InputFields_ac_ProductTemplateFields_FK1 Definition:
Child InputFieldId
Parent ac_InputFields.InputFieldId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_InputFields_ac_ProductTemplateFields_FK1
ac_Products_ac_ProductTemplateFields_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductTemplateFields_FK1
88
Parent ac_InputFields.InputFieldId ac_Products.ProductId
AbleCommerce 7.0 Database Schema
ac_ProductTemplates Columns ProductTemplateId StoreId (FK) Name
Data type int identity int nvarchar(100)
Foreign keys ac_Stores_ac_ProductTemplates_FK1 ac_ProductTemplates_ac_InputFields_FK1 ac_ProductTemplates_ac_Products_FK1
Allow NULLs Not allowed Not allowed Not allowed
Value/Range
Child StoreId ac_InputFields.ProductTemplateId ac_Products.ProductTemplateId
Foreign key details (child) ac_Stores_ac_ProductTemplates_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_ProductTemplates_FK1
Foreign key details (parent) ac_ProductTemplates_ac_InputFields_FK1 Definition:
Child ac_InputFields.ProductTemplateId
Parent ProductTemplateId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ProductTemplates_ac_InputFields_FK1
ac_ProductTemplates_ac_Products_FK1 Definition:
Child ac_Products.ProductTemplateId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_ProductTemplates_ac_Products_FK1
89
Parent ProductTemplateId
Parent ac_Stores.StoreId ProductTemplateId ProductTemplateId
AbleCommerce 7.0 Database Schema
ac_ProductVariants Columns ProductVariantId ProductId (FK) Option1 Option2 Option3 Option4 Option5 Option6 Option7 Option8 VariantName Sku Price PriceModeId Weight WeightModeId CostOfGoods InStock InStockWarningLevel Available
Data type int identity int int int int int int int int int nvarchar(255) nvarchar(100) decimal(12,4) tinyint decimal(12,4) tinyint decimal(12,4) int int bit
Foreign keys ac_Products_ac_ProductVariations_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Not allowed Allowed Not allowed Allowed Not allowed Not allowed Not allowed
Value/Range
Child ProductId
Parent ac_Products.ProductId
Foreign key details (child) ac_Products_ac_ProductVariations_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductVariations_FK1
90
AbleCommerce 7.0 Database Schema
ac_ProductVolumeDiscounts Columns ProductId (FK) VolumeDiscountId (FK)
Data type int int
Foreign keys ac_Products_ac_ProductDiscountAssn_FK1 ac_Discounts_ac_ProductDiscountAssn_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child ProductId VolumeDiscountId
Parent ac_Products.ProductId ac_VolumeDiscounts.VolumeDiscoun tId
Foreign key details (child) ac_Products_ac_ProductDiscountAssn_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_ProductDiscountAssn_FK1
ac_Discounts_ac_ProductDiscountAssn_FK1 Definition:
Child VolumeDiscountId
Parent ac_VolumeDiscounts.VolumeDiscountId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Discounts_ac_ProductDiscountAssn_FK1
91
AbleCommerce 7.0 Database Schema
ac_Profiles Columns UserId (FK) PropertyNames PropertyValuesString PropertyValuesBinary LastUpdatedDate
Data type int ntext ntext image datetime
Foreign keys ac_Users_ac_Profiles_FK1
Child UserId
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed
Value/Range
Parent ac_Users.UserId
Foreign key details (child) ac_Users_ac_Profiles_FK1 Definition:
Child UserId
Cardinality: Allow NULLs: Physical name:
One -to- Exactly-1 Not allowed ac_Users_ac_Profiles_FK1
Parent ac_Users.UserId
92
AbleCommerce 7.0 Database Schema
ac_Provinces Columns ProvinceId CountryCode (FK) Name LoweredName ProvinceCode
Data type int identity char(2) nvarchar(50) nvarchar(50) nvarchar(10)
Foreign keys ac_Countries_ac_Provinces_FK1 ac_Provinces_ac_ShipZoneProvinces_FK1 ac_Provinces_ac_TaxRules_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed
Value/Range
Child CountryCode ac_ShipZoneProvinces.ProvinceId ac_TaxRules.ProvinceId
Parent ac_Countries.CountryCode ProvinceId ProvinceId
Foreign key details (child) ac_Countries_ac_Provinces_FK1 Definition:
Child CountryCode
Parent ac_Countries.CountryCode
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Countries_ac_Provinces_FK1
Foreign key details (parent) ac_Provinces_ac_ShipZoneProvinces_FK1 Definition:
Child ac_ShipZoneProvinces.ProvinceId
Parent ProvinceId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Provinces_ac_ShipZoneProvinces_FK1
ac_Provinces_ac_TaxRules_FK1 Definition:
Child ac_TaxRules.ProvinceId
Parent ProvinceId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Provinces_ac_TaxRules_FK1
93
AbleCommerce 7.0 Database Schema
ac_Readmes Columns ReadmeId StoreId (FK) DisplayName ReadmeText IsHTML
Data type int identity int nvarchar(100) nvarchar(max) bit
Foreign keys ac_Stores_ac_Readmes_FK1 ac_Readmes_ac_DigitalGoods_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed
Value/Range
Child StoreId ac_DigitalGoods.ReadmeId
Parent ac_Stores.StoreId ReadmeId
Foreign key details (child) ac_Stores_ac_Readmes_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Readmes_FK1
Foreign key details (parent) ac_Readmes_ac_DigitalGoods_FK1 Definition:
Child ac_DigitalGoods.ReadmeId
Parent ReadmeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Readmes_ac_DigitalGoods_FK1
94
AbleCommerce 7.0 Database Schema
ac_RelatedProducts Columns ProductId (FK) OrderBy ChildProductId (FK)
Data type int smallint int
Foreign keys ac_Products_ac_RelatedProducts_FK1 ac_Products_ac_RelatedProducts_FK2
Allow NULLs Not allowed Not allowed Not allowed Child ProductId ChildProductId
Value/Range
Parent ac_Products.ProductId ac_Products.ProductId
Foreign key details (child) ac_Products_ac_RelatedProducts_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_RelatedProducts_FK1
ac_Products_ac_RelatedProducts_FK2 Definition:
Child ChildProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_RelatedProducts_FK2
95
AbleCommerce 7.0 Database Schema
ac_ReviewerProfiles Columns ReviewerProfileId Email DisplayName Location EmailVerified EmailVerificationCode
Data type int identity nvarchar(255) nvarchar(100) nvarchar(50) bit uniqueidentifier
Foreign keys ac_ReviewerProfiles_ac_ProductReviews_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Allowed
Value/Range
Child ac_ProductReviews.ReviewerProfile Id
Foreign key details (parent) ac_ReviewerProfiles_ac_ProductReviews_FK1 Definition:
Child Parent ac_ProductReviews.ReviewerProfileId ReviewerProfileId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ReviewerProfiles_ac_ProductReviews_FK1
96
Parent ReviewerProfileId
AbleCommerce 7.0 Database Schema
ac_Roles Columns RoleId Name LoweredName Foreign keys ac_Roles_ac_GroupRoles_FK1
Data type int identity nvarchar(100) nvarchar(100)
Allow NULLs Not allowed Not allowed Not allowed
Value/Range
Child ac_GroupRoles.RoleId
Parent RoleId
Foreign key details (parent) ac_Roles_ac_GroupRoles_FK1 Definition:
Child ac_GroupRoles.RoleId
Parent RoleId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Roles_ac_GroupRoles_FK1
97
AbleCommerce 7.0 Database Schema
ac_SerialKeys Columns SerialKeyId DigitalGoodId (FK) SerialKeyData Foreign keys ac_DigitalGoods_ac_SerialKeys_FK1
Data type int identity int nvarchar(max)
Allow NULLs Not allowed Not allowed Not allowed
Child DigitalGoodId
Value/Range
Parent ac_DigitalGoods.DigitalGoodId
Foreign key details (child) ac_DigitalGoods_ac_SerialKeys_FK1 Definition:
Child DigitalGoodId
Parent ac_DigitalGoods.DigitalGoodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_DigitalGoods_ac_SerialKeys_FK1
98
AbleCommerce 7.0 Database Schema
ac_SharedPersonalization Columns PersonalizationPathId (FK) PageSettings Theme MasterPageFile LastUpdatedDate Foreign keys ac_Paths_ac_SharedPersonalization_FK1
Data type int image varchar(100) varchar(100) datetime
Allow NULLs Not allowed Allowed Allowed Allowed Not allowed
Value/Range
Child PersonalizationPathId
Parent ac_PersonalizationPaths.Personalization PathId
Foreign key details (child) ac_Paths_ac_SharedPersonalization_FK1 Definition:
Child PersonalizationPathId
Parent ac_PersonalizationPaths.PersonalizationPathId
Cardinality: Allow NULLs: Physical name:
One -to- Exactly-1 Not allowed ac_Paths_ac_SharedPersonalization_FK1
99
AbleCommerce 7.0 Database Schema
ac_ShipGateways Columns ShipGatewayId StoreId (FK) Name ClassId ConfigData
Data type int identity int nvarchar(100) varchar(255) nvarchar(max)
Foreign keys ac_Stores_ac_ShipGateways_FK1 ac_ShipGateways_ac_ShipMethods_FK1 ac_ShipGateways_ac_Tracking_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed
Value/Range
Child StoreId ac_ShipMethods.ShipGatewayId ac_TrackingNumbers.ShipGatewayId
Foreign key details (child) ac_Stores_ac_ShipGateways_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_ShipGateways_FK1
Foreign key details (parent) ac_ShipGateways_ac_ShipMethods_FK1 Definition:
Child ac_ShipMethods.ShipGatewayId
Parent ShipGatewayId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_ShipGateways_ac_ShipMethods_FK1
ac_ShipGateways_ac_Tracking_FK1 Definition:
Child Parent ac_TrackingNumbers.ShipGatewayId ShipGatewayId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_ShipGateways_ac_Tracking_FK1
100
Parent ac_Stores.StoreId ShipGatewayId ShipGatewayId
AbleCommerce 7.0 Database Schema
ac_ShipMethodGroups Columns ShipMethodId (FK) GroupId (FK)
Data type int int
Foreign keys ac_Groups_ac_ShipMethodGroups_FK1 ac_ShipMethods_ac_ShipMethodGroups_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child GroupId ShipMethodId
Parent ac_Groups.GroupId ac_ShipMethods.ShipMethodId
Foreign key details (child) ac_Groups_ac_ShipMethodGroups_FK1 Definition:
Child GroupId
Parent ac_Groups.GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_ShipMethodGroups_FK1
ac_ShipMethods_ac_ShipMethodGroups_FK1 Definition:
Child ShipMethodId
Parent ac_ShipMethods.ShipMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipMethods_ac_ShipMethodGroups_FK1
101
AbleCommerce 7.0 Database Schema
ac_ShipMethods Columns ShipMethodId StoreId (FK) ShipMethodTypeId Name Surcharge ShipGatewayId (FK) ServiceCode MinPurchase SurchargeIsVisible SurchargeIsPercent TaxCodeId (FK) OrderBy
Data type int identity int smallint nvarchar(255) decimal(12,4) int nvarchar(255) decimal(12,4) bit bit int smallint
Foreign keys ac_ShipGateways_ac_ShipMethods_FK1 ac_Stores_ac_ShipMethods_FK1 ac_TaxCodes_ac_ShipMethods_FK1 ac_ShipMethods_ac_BasketShipments_FK1 ac_ShipMethods_ac_CouponShipMethods_FK1 ac_ShipMethods_ac_OrderShipments_FK1 ac_ShipMethods_ac_ShipMethodGroups_FK1 ac_ShipMethods_ac_ShipMethodShipZones_FK1 ac_ShipMethods_ac_ShipMethodWarehouses_FK1 ac_ShipMethods_ac_ShipMatrix_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Allowed Allowed Not allowed Not allowed Allowed Allowed Not allowed
Value/Range
Child ShipGatewayId StoreId TaxCodeId ac_BasketShipments.ShipMethodI d ac_CouponShipMethods.ShipMet hodId ac_OrderShipments.ShipMethodI d ac_ShipMethodGroups.ShipMeth odId ac_ShipMethodShipZones.ShipM ethodId ac_ShipMethodWarehouses.Ship MethodId ac_ShipRateMatrix.ShipMethodId
Parent ac_ShipGateways.ShipGatewayId ac_Stores.StoreId ac_TaxCodes.TaxCodeId ShipMethodId ShipMethodId ShipMethodId ShipMethodId ShipMethodId ShipMethodId ShipMethodId
Foreign key details (child) ac_ShipGateways_ac_ShipMethods_FK1 Definition:
Child ShipGatewayId
Parent ac_ShipGateways.ShipGatewayId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_ShipGateways_ac_ShipMethods_FK1
ac_Stores_ac_ShipMethods_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_ShipMethods_FK1
ac_TaxCodes_ac_ShipMethods_FK1 Definition:
Child TaxCodeId
Parent ac_TaxCodes.TaxCodeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_TaxCodes_ac_ShipMethods_FK1
102
AbleCommerce 7.0 Database Schema Foreign key details (parent) ac_ShipMethods_ac_BasketShipments_FK1 Definition:
Child ac_BasketShipments.ShipMethodId
Parent ShipMethodId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_ShipMethods_ac_BasketShipments_FK1
ac_ShipMethods_ac_CouponShipMethods_FK1 Definition:
Child Parent ac_CouponShipMethods.ShipMethodId ShipMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipMethods_ac_CouponShipMethods_FK1
ac_ShipMethods_ac_OrderShipments_FK1 Definition:
Child ac_OrderShipments.ShipMethodId
Parent ShipMethodId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_ShipMethods_ac_OrderShipments_FK1
ac_ShipMethods_ac_ShipMethodGroups_FK1 Definition:
Child Parent ac_ShipMethodGroups.ShipMethodId ShipMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipMethods_ac_ShipMethodGroups_FK1
ac_ShipMethods_ac_ShipMethodShipZones_FK1 Definition:
Child Parent ac_ShipMethodShipZones.ShipMethodId ShipMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipMethods_ac_ShipMethodShipZones_FK1
ac_ShipMethods_ac_ShipMethodWarehouses_FK1 Definition:
Child Parent ac_ShipMethodWarehouses.ShipMethodId ShipMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipMethods_ac_ShipMethodWarehouses_FK1
ac_ShipMethods_ac_ShipMatrix_FK1 Definition:
Child ac_ShipRateMatrix.ShipMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipMethods_ac_ShipMatrix_FK1
103
Parent ShipMethodId
AbleCommerce 7.0 Database Schema
ac_ShipMethodShipZones Columns ShipMethodId (FK) ShipZoneId (FK)
Data type int int
Foreign keys ac_ShipMethods_ac_ShipMethodShipZones_FK1 ac_ShipZones_ac_ShipMethodShipZones_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child ShipMethodId ShipZoneId
Parent ac_ShipMethods.ShipMethodId ac_ShipZones.ShipZoneId
Foreign key details (child) ac_ShipMethods_ac_ShipMethodShipZones_FK1 Definition:
Child ShipMethodId
Parent ac_ShipMethods.ShipMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipMethods_ac_ShipMethodShipZones_FK1
ac_ShipZones_ac_ShipMethodShipZones_FK1 Definition:
Child ShipZoneId
Parent ac_ShipZones.ShipZoneId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipZones_ac_ShipMethodShipZones_FK1
104
AbleCommerce 7.0 Database Schema
ac_ShipMethodWarehouses Columns ShipMethodId (FK) WarehouseId (FK)
Data type int int
Foreign keys ac_ShipMethods_ac_ShipMethodWarehouses_FK1 ac_Warehouses_ac_ShipMethodWarehouses_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child ShipMethodId WarehouseId
Parent ac_ShipMethods.ShipMethodId ac_Warehouses.WarehouseId
Foreign key details (child) ac_ShipMethods_ac_ShipMethodWarehouses_FK1 Definition:
Child ShipMethodId
Parent ac_ShipMethods.ShipMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipMethods_ac_ShipMethodWarehouses_FK1
ac_Warehouses_ac_ShipMethodWarehouses_FK1 Definition:
Child WarehouseId
Parent ac_Warehouses.WarehouseId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Warehouses_ac_ShipMethodWarehouses_FK1
105
AbleCommerce 7.0 Database Schema
ac_ShipRateMatrix Columns ShipRateMatrixId ShipMethodId (FK) RangeStart RangeEnd Rate IsPercent Foreign keys ac_ShipMethods_ac_ShipMatrix_FK1
Data type int identity int decimal(12,4) decimal(12,4) decimal(12,4) bit
Allow NULLs Not allowed Not allowed Allowed Allowed Not allowed Not allowed
Child ShipMethodId
Value/Range
Parent ac_ShipMethods.ShipMethodId
Foreign key details (child) ac_ShipMethods_ac_ShipMatrix_FK1 Definition:
Child ShipMethodId
Parent ac_ShipMethods.ShipMethodId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipMethods_ac_ShipMatrix_FK1
106
AbleCommerce 7.0 Database Schema
ac_ShipZoneCountries Columns ShipZoneId (FK) CountryCode (FK)
Data type int char(2)
Foreign keys ac_Countries_ac_ShipZoneCountries_FK1 ac_ShipZones_ac_ShipZoneCountries_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child CountryCode ShipZoneId
Parent ac_Countries.CountryCode ac_ShipZones.ShipZoneId
Foreign key details (child) ac_Countries_ac_ShipZoneCountries_FK1 Definition:
Child CountryCode
Parent ac_Countries.CountryCode
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Countries_ac_ShipZoneCountries_FK1
ac_ShipZones_ac_ShipZoneCountries_FK1 Definition:
Child ShipZoneId
Parent ac_ShipZones.ShipZoneId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipZones_ac_ShipZoneCountries_FK1
107
AbleCommerce 7.0 Database Schema
ac_ShipZoneProvinces Columns ProvinceId (FK) ShipZoneId (FK)
Data type int int
Foreign keys ac_Provinces_ac_ShipZoneProvinces_FK1 ac_ShipZones_ac_ShipZoneProvinces_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child ProvinceId ShipZoneId
Parent ac_Provinces.ProvinceId ac_ShipZones.ShipZoneId
Foreign key details (child) ac_Provinces_ac_ShipZoneProvinces_FK1 Definition:
Child ProvinceId
Parent ac_Provinces.ProvinceId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Provinces_ac_ShipZoneProvinces_FK1
ac_ShipZones_ac_ShipZoneProvinces_FK1 Definition:
Child ShipZoneId
Parent ac_ShipZones.ShipZoneId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipZones_ac_ShipZoneProvinces_FK1
108
AbleCommerce 7.0 Database Schema
ac_ShipZones Columns ShipZoneId StoreId (FK) Name PostalCodeFilter
Data type int identity int nvarchar(255) nvarchar(255)
Foreign keys ac_Stores_ac_ShipZones_FK1 ac_ShipZones_ac_ShipMethodShipZones_FK1 ac_ShipZones_ac_ShipZoneCountries_FK1 ac_ShipZones_ac_ShipZoneProvinces_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed
Value/Range
Child StoreId ac_ShipMethodShipZones.ShipZoneI d ac_ShipZoneCountries.ShipZoneId ac_ShipZoneProvinces.ShipZoneId
Foreign key details (child) ac_Stores_ac_ShipZones_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_ShipZones_FK1
Foreign key details (parent) ac_ShipZones_ac_ShipMethodShipZones_FK1 Definition:
Child Parent ac_ShipMethodShipZones.ShipZoneId ShipZoneId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipZones_ac_ShipMethodShipZones_FK1
ac_ShipZones_ac_ShipZoneCountries_FK1 Definition:
Child ac_ShipZoneCountries.ShipZoneId
Parent ShipZoneId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipZones_ac_ShipZoneCountries_FK1
ac_ShipZones_ac_ShipZoneProvinces_FK1 Definition:
Child ac_ShipZoneProvinces.ShipZoneId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_ShipZones_ac_ShipZoneProvinces_FK1
109
Parent ShipZoneId
Parent ac_Stores.StoreId ShipZoneId ShipZoneId ShipZoneId
AbleCommerce 7.0 Database Schema
ac_SpecialGroups Columns SpecialId (FK) GroupId (FK)
Data type int int
Foreign keys ac_Groups_ac_SpecialGroups_FK1 ac_Specials_ac_SpecialGroups_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child GroupId SpecialId
Parent ac_Groups.GroupId ac_Specials.SpecialId
Foreign key details (child) ac_Groups_ac_SpecialGroups_FK1 Definition:
Child GroupId
Parent ac_Groups.GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_SpecialGroups_FK1
ac_Specials_ac_SpecialGroups_FK1 Definition:
Child SpecialId
Parent ac_Specials.SpecialId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Specials_ac_SpecialGroups_FK1
110
AbleCommerce 7.0 Database Schema
ac_Specials Columns SpecialId ProductId (FK) Price StartDate EndDate
Data type int identity int decimal(12,4) datetime datetime
Foreign keys ac_Products_ac_Specials_FK1 ac_Specials_ac_SpecialGroups_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Allowed
Value/Range
Child ProductId ac_SpecialGroups.SpecialId
Parent ac_Products.ProductId SpecialId
Foreign key details (child) ac_Products_ac_Specials_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_Specials_FK1
Foreign key details (parent) ac_Specials_ac_SpecialGroups_FK1 Definition:
Child ac_SpecialGroups.SpecialId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Specials_ac_SpecialGroups_FK1
111
Parent SpecialId
AbleCommerce 7.0 Database Schema
ac_Stores Columns StoreId Name ApplicationName LoweredApplicationName LicenseKey DefaultWarehouseId NextOrderId OrderIdIncrement WeightUnitId MeasurementUnitId Foreign keys ac_Stores_ac_Affiliates_FK1 ac_Stores_ac_BannedIPs_FK1 ac_Stores_ac_Categories_FK1 ac_Stores_ac_Countries_FK1 ac_Stores_ac_Coupons_FK1 ac_Stores_ac_Currencies_FK1 ac_Stores_ac_CustomFields_FK1 ac_Stores_ac_EmailLists_FK1 ac_Stores_ac_Emails_FK1 ac_Stores_ac_GiftCertificates_FK1 ac_Stores_ac_KitComponents_FK1 ac_Stores_ac_Links_FK1 ac_Stores_ac_Manufacturers_FK1 ac_Stores_ac_Orders_FK1 ac_Stores_ac_OrderStatuses_FK1 ac_Stores_ac_PageViews_FK1 ac_Stores_ac_PaymentGateways_FK1 ac_Stores_ac_PaymentMethods_FK1 ac_Stores_ac_Paths_FK1 ac_Stores_ac_Products_FK1 ac_Stores_ac_ProductTemplates_FK1 ac_Stores_ac_Groups_FK1 ac_Stores_ac_ShipGateways_FK1 ac_Stores_ac_ShipMethods_FK1 ac_Stores_ac_ShipZones_FK1 ac_Stores_ac_StoreSettings_FK1 ac_Stores_ac_TaxCodes_FK1 ac_Stores_ac_TaxGateways_FK1 ac_Stores_ac_TaxRules_FK1 ac_Stores_ac_Users_FK1 ac_Stores_ac_Vendors_FK1 ac_Stores_ac_Discounts_FK1 ac_Stores_ac_Warehouses_FK1 ac_Stores_ac_Webpages_FK1 ac_Stores_ac_WrapGroups_FK1 ac_Stores_ac_ErrorMessages_FK1 ac_Stores_ac_AuditEvents_FK1 ac_Stores_ac_LicenseAgreements_FK1 ac_Stores_ac_Readmes_FK1 ac_Stores_ac_DigitalGoods_FK1
Data type int identity nvarchar(100) nvarchar(255) nvarchar(255) text int int smallint smallint smallint
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed Allowed Not allowed Not allowed Not allowed Not allowed
Value/Range
Child ac_Affiliates.StoreId ac_BannedIPs.StoreId ac_Categories.StoreId ac_Countries.StoreId ac_Coupons.StoreId ac_Currencies.StoreId ac_CustomFields.StoreId ac_EmailLists.StoreId ac_EmailTemplates.StoreId ac_GiftCertificates.StoreId ac_KitComponents.StoreId ac_Links.StoreId ac_Manufacturers.StoreId ac_Orders.StoreId ac_OrderStatuses.StoreId ac_PageViews.StoreId ac_PaymentGateways.StoreId ac_PaymentMethods.StoreId ac_PersonalizationPaths.StoreId ac_Products.StoreId ac_ProductTemplates.StoreId ac_Groups.StoreId ac_ShipGateways.StoreId ac_ShipMethods.StoreId ac_ShipZones.StoreId ac_StoreSettings.StoreId ac_TaxCodes.StoreId ac_TaxGateways.StoreId ac_TaxRules.StoreId ac_Users.StoreId ac_Vendors.StoreId ac_VolumeDiscounts.StoreId ac_Warehouses.StoreId ac_Webpages.StoreId ac_WrapGroups.StoreId ac_ErrorMessages.StoreId ac_AuditEvents.StoreId ac_LicenseAgreements.StoreId ac_Readmes.StoreId ac_DigitalGoods.StoreId
Foreign key details (parent) ac_Stores_ac_Affiliates_FK1 Definition:
Child ac_Affiliates.StoreId
Cardinality:
One -to- Zero-or-More
Parent StoreId
112
Parent StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId StoreId
AbleCommerce 7.0 Database Schema Allow NULLs: Physical name:
Not allowed ac_Stores_ac_Affiliates_FK1
ac_Stores_ac_BannedIPs_FK1 Definition:
Child ac_BannedIPs.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_BannedIPs_FK1
ac_Stores_ac_Categories_FK1 Definition:
Child ac_Categories.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Categories_FK1
ac_Stores_ac_Countries_FK1 Definition:
Child ac_Countries.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Countries_FK1
ac_Stores_ac_Coupons_FK1 Definition:
Child ac_Coupons.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Coupons_FK1
ac_Stores_ac_Currencies_FK1 Definition:
Child ac_Currencies.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Currencies_FK1
ac_Stores_ac_CustomFields_FK1 Definition:
Child ac_CustomFields.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_CustomFields_FK1
ac_Stores_ac_EmailLists_FK1 Definition:
Child ac_EmailLists.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_EmailLists_FK1
113
AbleCommerce 7.0 Database Schema ac_Stores_ac_Emails_FK1 Definition:
Child ac_EmailTemplates.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Emails_FK1
Parent StoreId
ac_Stores_ac_GiftCertificates_FK1 Definition:
Child ac_GiftCertificates.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_GiftCertificates_FK1
ac_Stores_ac_KitComponents_FK1 Definition:
Child ac_KitComponents.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_KitComponents_FK1
Parent StoreId
ac_Stores_ac_Links_FK1 Definition:
Child ac_Links.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Links_FK1
Parent StoreId
ac_Stores_ac_Manufacturers_FK1 Definition:
Child ac_Manufacturers.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Manufacturers_FK1
ac_Stores_ac_Orders_FK1 Definition:
Child ac_Orders.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Orders_FK1
Parent StoreId
ac_Stores_ac_OrderStatuses_FK1 Definition:
Child ac_OrderStatuses.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_OrderStatuses_FK1
ac_Stores_ac_PageViews_FK1 Definition:
Child
Parent
114
AbleCommerce 7.0 Database Schema ac_PageViews.StoreId Cardinality: Allow NULLs: Physical name:
StoreId
One -to- Zero-or-More Not allowed ac_Stores_ac_PageViews_FK1
ac_Stores_ac_PaymentGateways_FK1 Definition:
Child ac_PaymentGateways.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_PaymentGateways_FK1
Parent StoreId
ac_Stores_ac_PaymentMethods_FK1 Definition:
Child ac_PaymentMethods.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_PaymentMethods_FK1
Parent StoreId
ac_Stores_ac_Paths_FK1 Definition:
Child ac_PersonalizationPaths.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Paths_FK1
Parent StoreId
ac_Stores_ac_Products_FK1 Definition:
Child ac_Products.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Products_FK1
ac_Stores_ac_ProductTemplates_FK1 Definition:
Child ac_ProductTemplates.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_ProductTemplates_FK1
Parent StoreId
ac_Stores_ac_Groups_FK1 Definition:
Child ac_Groups.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Groups_FK1
ac_Stores_ac_ShipGateways_FK1 Definition:
Child ac_ShipGateways.StoreId
Cardinality:
One -to- Zero-or-More
Parent StoreId
115
AbleCommerce 7.0 Database Schema Allow NULLs: Physical name:
Not allowed ac_Stores_ac_ShipGateways_FK1
ac_Stores_ac_ShipMethods_FK1 Definition:
Child ac_ShipMethods.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_ShipMethods_FK1
ac_Stores_ac_ShipZones_FK1 Definition:
Child ac_ShipZones.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_ShipZones_FK1
ac_Stores_ac_StoreSettings_FK1 Definition:
Child ac_StoreSettings.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_StoreSettings_FK1
ac_Stores_ac_TaxCodes_FK1 Definition:
Child ac_TaxCodes.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_TaxCodes_FK1
ac_Stores_ac_TaxGateways_FK1 Definition:
Child ac_TaxGateways.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_TaxGateways_FK1
ac_Stores_ac_TaxRules_FK1 Definition:
Child ac_TaxRules.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_TaxRules_FK1
ac_Stores_ac_Users_FK1 Definition:
Child ac_Users.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Users_FK1
Parent StoreId
116
AbleCommerce 7.0 Database Schema ac_Stores_ac_Vendors_FK1 Definition:
Child ac_Vendors.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Vendors_FK1
ac_Stores_ac_Discounts_FK1 Definition:
Child ac_VolumeDiscounts.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Discounts_FK1
Parent StoreId
ac_Stores_ac_Warehouses_FK1 Definition:
Child ac_Warehouses.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Warehouses_FK1
ac_Stores_ac_Webpages_FK1 Definition:
Child ac_Webpages.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Webpages_FK1
ac_Stores_ac_WrapGroups_FK1 Definition:
Child ac_WrapGroups.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_WrapGroups_FK1
ac_Stores_ac_ErrorMessages_FK1 Definition:
Child ac_ErrorMessages.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_ErrorMessages_FK1
ac_Stores_ac_AuditEvents_FK1 Definition:
Child ac_AuditEvents.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_AuditEvents_FK1
ac_Stores_ac_LicenseAgreements_FK1 Definition:
Child
Parent
117
AbleCommerce 7.0 Database Schema ac_LicenseAgreements.StoreId Cardinality: Allow NULLs: Physical name:
StoreId
One -to- Zero-or-More Not allowed ac_Stores_ac_LicenseAgreements_FK1
ac_Stores_ac_Readmes_FK1 Definition:
Child ac_Readmes.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Readmes_FK1
ac_Stores_ac_DigitalGoods_FK1 Definition:
Child ac_DigitalGoods.StoreId
Parent StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_DigitalGoods_FK1
118
AbleCommerce 7.0 Database Schema
ac_StoreSettings Columns StoreSettingId StoreId (FK) FieldName FieldValue
Data type int identity int nvarchar(255) nvarchar(max)
Foreign keys ac_Stores_ac_StoreSettings_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed
Value/Range
Child StoreId
Parent ac_Stores.StoreId
Foreign key details (child) ac_Stores_ac_StoreSettings_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_StoreSettings_FK1
119
AbleCommerce 7.0 Database Schema
ac_SubscriptionPlans Columns ProductId (FK) Name NumberOfPayments PaymentFrequency PaymentFrequencyUnitId RecurringCharge RecurringChargeSpecified GroupId (FK)
Data type int nvarchar(100) smallint smallint tinyint decimal(9,2) bit int
Foreign keys ac_Products_ac_SubscriptionPlans_FK1 ac_Groups_ac_SubscriptionPlans_FK1 ac_SubscriptionPlans_ac_Subscriptions_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed Allowed
Value/Range
Child ProductId GroupId ac_Subscriptions.ProductId
Foreign key details (child) ac_Products_ac_SubscriptionPlans_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Exactly-1 Not allowed ac_Products_ac_SubscriptionPlans_FK1
ac_Groups_ac_SubscriptionPlans_FK1 Definition:
Child GroupId
Parent ac_Groups.GroupId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Groups_ac_SubscriptionPlans_FK1
Foreign key details (parent) ac_SubscriptionPlans_ac_Subscriptions_FK1 Definition:
Child ac_Subscriptions.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_SubscriptionPlans_ac_Subscriptions_FK1
120
Parent ProductId
Parent ac_Products.ProductId ac_Groups.GroupId ProductId
AbleCommerce 7.0 Database Schema
ac_Subscriptions Columns SubscriptionId ProductId (FK) UserId (FK) OrderItemId (FK) TransactionId (FK) IsActive ExpirationDate
Data type int identity int int int int bit datetime
Foreign keys ac_Users_ac_Subscriptions_FK1 ac_SubscriptionPlans_ac_Subscriptions_FK1 ac_OrderItems_ac_Subscriptions_FK1 ac_Transactions_ac_Subscriptions_FK1 ac_Subscriptions_ac_UserGroups_FK1 ac_Subscriptions_ac_Payments_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Allowed Not allowed Allowed
Value/Range
Child UserId ProductId OrderItemId TransactionId ac_UserGroups.SubscriptionId ac_Payments.SubscriptionId
Parent ac_Users.UserId ac_SubscriptionPlans.ProductId ac_OrderItems.OrderItemId ac_Transactions.TransactionId SubscriptionId SubscriptionId
Foreign key details (child) ac_Users_ac_Subscriptions_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_Subscriptions_FK1
ac_SubscriptionPlans_ac_Subscriptions_FK1 Definition:
Child ProductId
Parent ac_SubscriptionPlans.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_SubscriptionPlans_ac_Subscriptions_FK1
ac_OrderItems_ac_Subscriptions_FK1 Definition:
Child OrderItemId
Parent ac_OrderItems.OrderItemId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_OrderItems_ac_Subscriptions_FK1
ac_Transactions_ac_Subscriptions_FK1 Definition:
Child TransactionId
Parent ac_Transactions.TransactionId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Transactions_ac_Subscriptions_FK1
Foreign key details (parent) ac_Subscriptions_ac_UserGroups_FK1 Definition:
Child ac_UserGroups.SubscriptionId
121
Parent SubscriptionId
AbleCommerce 7.0 Database Schema Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Subscriptions_ac_UserGroups_FK1
ac_Subscriptions_ac_Payments_FK1 Definition:
Child ac_Payments.SubscriptionId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Subscriptions_ac_Payments_FK1
122
Parent SubscriptionId
AbleCommerce 7.0 Database Schema
ac_TaxCodes Columns TaxCodeId StoreId (FK) Name
Data type int identity int nvarchar(100)
Allow NULLs Not allowed Not allowed Not allowed
Foreign keys ac_Stores_ac_TaxCodes_FK1 ac_TaxCodes_ac_BasketItems_FK1 ac_TaxCodes_ac_OrderItems_FK1 ac_TaxCodes_ac_Products_FK1 ac_TaxCodes_ac_TaxRuleTaxCodeAssn_FK1 ac_TaxCodes_ac_WrapStyles_FK1 ac_TaxCodes_ac_ShipMethods_FK1
Value/Range
Child StoreId ac_BasketItems.TaxCodeId ac_OrderItems.TaxCodeId ac_Products.TaxCodeId ac_TaxRuleTaxCodes.TaxCodeId ac_WrapStyles.TaxCodeId ac_ShipMethods.TaxCodeId
Foreign key details (child) ac_Stores_ac_TaxCodes_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_TaxCodes_FK1
Foreign key details (parent) ac_TaxCodes_ac_BasketItems_FK1 Definition:
Child ac_BasketItems.TaxCodeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_TaxCodes_ac_BasketItems_FK1
Parent TaxCodeId
ac_TaxCodes_ac_OrderItems_FK1 Definition:
Child ac_OrderItems.TaxCodeId
Parent TaxCodeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_TaxCodes_ac_OrderItems_FK1
ac_TaxCodes_ac_Products_FK1 Definition:
Child ac_Products.TaxCodeId
Parent TaxCodeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_TaxCodes_ac_Products_FK1
ac_TaxCodes_ac_TaxRuleTaxCodeAssn_FK1 Definition:
Child ac_TaxRuleTaxCodes.TaxCodeId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_TaxCodes_ac_TaxRuleTaxCodeAssn_FK1
123
Parent TaxCodeId
Parent ac_Stores.StoreId TaxCodeId TaxCodeId TaxCodeId TaxCodeId TaxCodeId TaxCodeId
AbleCommerce 7.0 Database Schema ac_TaxCodes_ac_WrapStyles_FK1 Definition:
Child ac_WrapStyles.TaxCodeId
Parent TaxCodeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_TaxCodes_ac_WrapStyles_FK1
ac_TaxCodes_ac_ShipMethods_FK1 Definition:
Child ac_ShipMethods.TaxCodeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_TaxCodes_ac_ShipMethods_FK1
124
Parent TaxCodeId
AbleCommerce 7.0 Database Schema
ac_TaxGateways Columns TaxGatewayId StoreId (FK) Name ClassId ConfigData
Data type int identity int nvarchar(100) varchar(255) nvarchar(max)
Foreign keys ac_Stores_ac_TaxGateways_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed
Value/Range
Child StoreId
Parent ac_Stores.StoreId
Foreign key details (child) ac_Stores_ac_TaxGateways_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_TaxGateways_FK1
125
AbleCommerce 7.0 Database Schema
ac_TaxRules Columns TaxRuleId StoreId (FK) CountryCode (FK) ProvinceId (FK) Name PostalCodeFilter TaxRate UseBillingAddress
Data type int identity int char(2) int nvarchar(100) nvarchar(255) decimal(9,4) bit
Foreign keys ac_Countries_ac_TaxRules_FK1 ac_Provinces_ac_TaxRules_FK1 ac_Stores_ac_TaxRules_FK1 ac_TaxRules_ac_TaxRuleTaxCodeAssn_FK1
Allow NULLs Not allowed Not allowed Allowed Allowed Not allowed Allowed Not allowed Not allowed
Value/Range
Child CountryCode ProvinceId StoreId ac_TaxRuleTaxCodes.TaxRuleId
Parent ac_Countries.CountryCode ac_Provinces.ProvinceId ac_Stores.StoreId TaxRuleId
Foreign key details (child) ac_Countries_ac_TaxRules_FK1 Definition:
Child CountryCode
Parent ac_Countries.CountryCode
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Countries_ac_TaxRules_FK1
ac_Provinces_ac_TaxRules_FK1 Definition:
Child ProvinceId
Parent ac_Provinces.ProvinceId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Provinces_ac_TaxRules_FK1
ac_Stores_ac_TaxRules_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_TaxRules_FK1
Foreign key details (parent) ac_TaxRules_ac_TaxRuleTaxCodeAssn_FK1 Definition:
Child ac_TaxRuleTaxCodes.TaxRuleId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_TaxRules_ac_TaxRuleTaxCodeAssn_FK1
126
Parent TaxRuleId
AbleCommerce 7.0 Database Schema
ac_TaxRuleTaxCodes Columns TaxRuleId (FK) TaxCodeId (FK)
Data type int int
Foreign keys ac_TaxCodes_ac_TaxRuleTaxCodeAssn_FK1 ac_TaxRules_ac_TaxRuleTaxCodeAssn_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child TaxCodeId TaxRuleId
Parent ac_TaxCodes.TaxCodeId ac_TaxRules.TaxRuleId
Foreign key details (child) ac_TaxCodes_ac_TaxRuleTaxCodeAssn_FK1 Definition:
Child TaxCodeId
Parent ac_TaxCodes.TaxCodeId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_TaxCodes_ac_TaxRuleTaxCodeAssn_FK1
ac_TaxRules_ac_TaxRuleTaxCodeAssn_FK1 Definition:
Child TaxRuleId
Parent ac_TaxRules.TaxRuleId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_TaxRules_ac_TaxRuleTaxCodeAssn_FK1
127
AbleCommerce 7.0 Database Schema
ac_TrackingNumbers Columns TrackingNumberId OrderShipmentId (FK) ShipGatewayId (FK) TrackingNumberData Foreign keys ac_Shipments_ac_Tracking_FK1 ac_ShipGateways_ac_Tracking_FK1
Data type int identity int int nvarchar(100)
Allow NULLs Not allowed Not allowed Allowed Not allowed
Child OrderShipmentId ShipGatewayId
Value/Range
Parent ac_OrderShipments.OrderShipmentId ac_ShipGateways.ShipGatewayId
Foreign key details (child) ac_Shipments_ac_Tracking_FK1 Definition:
Child OrderShipmentId
Parent ac_OrderShipments.OrderShipmentId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Shipments_ac_Tracking_FK1
ac_ShipGateways_ac_Tracking_FK1 Definition:
Child ShipGatewayId
Parent ac_ShipGateways.ShipGatewayId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_ShipGateways_ac_Tracking_FK1
128
AbleCommerce 7.0 Database Schema
ac_Transactions Columns TransactionId TransactionTypeId PaymentId (FK) PaymentGatewayId (FK) ProviderTransactionId TransactionDate Amount TransactionStatusId ResponseCode ResponseMessage AuthorizationCode AVSResultCode CVVResultCode CAVResultCode RemoteIP Referrer
Data type int identity smallint int int nvarchar(50) datetime decimal(12,4) smallint nvarchar(50) nvarchar(255) nvarchar(255) char(1) char(1) char(1) varchar(15) nvarchar(255)
Allow NULLs Not allowed Not allowed Not allowed Allowed Allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed
Value/Range
Foreign keys ac_PaymentGateways_ac_Transactions_FK1
Child PaymentGatewayId
ac_Payments_ac_Transactions_FK1 ac_Transactions_ac_Subscriptions_FK1
PaymentId ac_Subscriptions.TransactionId
Parent ac_PaymentGateways.PaymentGatew ayId ac_Payments.PaymentId TransactionId
Foreign key details (child) ac_PaymentGateways_ac_Transactions_FK1 Definition:
Child PaymentGatewayId
Parent ac_PaymentGateways.PaymentGatewayId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_PaymentGateways_ac_Transactions_FK1
ac_Payments_ac_Transactions_FK1 Definition:
Child PaymentId
Parent ac_Payments.PaymentId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Payments_ac_Transactions_FK1
Foreign key details (parent) ac_Transactions_ac_Subscriptions_FK1 Definition:
Child ac_Subscriptions.TransactionId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Transactions_ac_Subscriptions_FK1
129
Parent TransactionId
AbleCommerce 7.0 Database Schema
ac_UpsellProducts Columns ProductId (FK) ChildProductId OrderBy
Data type int int smallint
Foreign keys ac_Products_ac_UpsellProducts_FK1
Allow NULLs Not allowed Not allowed Not allowed Child ProductId
Value/Range
Parent ac_Products.ProductId
Foreign key details (child) ac_Products_ac_UpsellProducts_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_UpsellProducts_FK1
130
AbleCommerce 7.0 Database Schema
ac_UpsOrigin Columns CountryCode CountryName CurrencyName CurrencyCode EuroAllowed MIVDollar MIVEuro UOM MaxWeight MaxMetricWeight EUMember
Data type char(2) nvarchar(100) nvarchar(50) nvarchar(3) smallint decimal(12,4) decimal(12,4) smallint decimal(12,4) decimal(12,4) smallint
Allow NULLs Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed
131
Value/Range
AbleCommerce 7.0 Database Schema
ac_UserGroups Columns UserId (FK) GroupId (FK) SubscriptionId (FK)
Data type int int int
Foreign keys ac_Groups_ac_UserGroups_FK1 ac_Users_ac_UserGroups_FK1 ac_Subscriptions_ac_UserGroups_FK1
Allow NULLs Not allowed Not allowed Allowed
Value/Range
Child GroupId UserId SubscriptionId
Parent ac_Groups.GroupId ac_Users.UserId ac_Subscriptions.SubscriptionId
Foreign key details (child) ac_Groups_ac_UserGroups_FK1 Definition:
Child GroupId
Parent ac_Groups.GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_UserGroups_FK1
ac_Users_ac_UserGroups_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_UserGroups_FK1
ac_Subscriptions_ac_UserGroups_FK1 Definition:
Child SubscriptionId
Parent ac_Subscriptions.SubscriptionId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Subscriptions_ac_UserGroups_FK1
132
AbleCommerce 7.0 Database Schema
ac_UserPasswords Columns UserId (FK) PasswordNumber Password PasswordFormat CreateDate
Data type int tinyint nvarchar(255) nvarchar(10) datetime
Foreign keys ac_Users_ac_UserPasswords_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed
Value/Range
Child UserId
Parent ac_Users.UserId
Foreign key details (child) ac_Users_ac_UserPasswords_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_UserPasswords_FK1
133
AbleCommerce 7.0 Database Schema
ac_UserPersonalization Columns PersonalizationPathId (FK) UserId (FK) PageSettings Theme MasterPageFile LastUpdatedDate
Data type int int image varchar(100) varchar(100) datetime
Allow NULLs Not allowed Not allowed Allowed Allowed Allowed Not allowed
Foreign keys ac_Paths_ac_UserPersonalization_FK1
Child PersonalizationPathId
ac_Users_ac_UserPersonalization_FK1
UserId
Value/Range
Parent ac_PersonalizationPaths.PersonalizationP athId ac_Users.UserId
Foreign key details (child) ac_Paths_ac_UserPersonalization_FK1 Definition:
Child PersonalizationPathId
Parent ac_PersonalizationPaths.PersonalizationPathId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Paths_ac_UserPersonalization_FK1
ac_Users_ac_UserPersonalization_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_UserPersonalization_FK1
134
AbleCommerce 7.0 Database Schema
ac_Users Columns UserId StoreId (FK) UserName LoweredUserName Email LoweredEmail ReferringAffiliateId AffiliateId (FK) AffiliateReferralDate PrimaryAddressId PrimaryWishlistId PayPalId PasswordQuestion PasswordAnswer IsApproved IsAnonymous IsLockedOut CreateDate LastActivityDate LastLoginDate LastPasswordChangedDate LastLockoutDate FailedPasswordAttemptCount FailedPasswordAttemptWindowStart FailedPasswordAnswerAttemptCount FailedPasswordAnswerAttemptWindowStart Comment Foreign keys ac_Affiliates_ac_Users_FK1 ac_Stores_ac_Users_FK1 ac_Users_ac_Addresses_FK1 ac_Users_ac_Auditlog_FK1 ac_Users_ac_Baskets_FK1 ac_Users_ac_OrderNotes_FK1 ac_Users_ac_Orders_FK1 ac_Users_ac_PageViews_FK1 ac_Users_ac_Profiles_FK1 ac_Users_ac_UserPasswords_FK1 ac_Users_ac_UserPersonalization_FK1 ac_Users_ac_UserGroups_FK1 ac_Users_ac_UserSettings_FK1 ac_Users_ac_Wishlists_FK1 ac_Users_ac_Subscriptions_FK1
Data type int identity int nvarchar(255) nvarchar(255) nvarchar(255) nvarchar(255) int int datetime int int nvarchar(50) nvarchar(255) nvarchar(255) bit bit bit datetime datetime datetime datetime datetime int datetime int datetime nvarchar(max)
Allow NULLs Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Not allowed Allowed Not allowed Allowed Allowed
Child AffiliateId StoreId ac_Addresses.UserId ac_AuditEvents.UserId ac_Baskets.UserId ac_OrderNotes.UserId ac_Orders.UserId ac_PageViews.UserId ac_Profiles.UserId ac_UserPasswords.UserId ac_UserPersonalization.UserId ac_UserGroups.UserId ac_UserSettings.UserId ac_Wishlists.UserId ac_Subscriptions.UserId
Value/Range
Parent ac_Affiliates.AffiliateId ac_Stores.StoreId UserId UserId UserId UserId UserId UserId UserId UserId UserId UserId UserId UserId UserId
Foreign key details (child) ac_Affiliates_ac_Users_FK1 Definition:
Child AffiliateId
Parent ac_Affiliates.AffiliateId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Affiliates_ac_Users_FK1
ac_Stores_ac_Users_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
135
AbleCommerce 7.0 Database Schema Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Users_FK1
Foreign key details (parent) ac_Users_ac_Addresses_FK1 Definition:
Child ac_Addresses.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_Addresses_FK1
ac_Users_ac_Auditlog_FK1 Definition:
Child ac_AuditEvents.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Users_ac_Auditlog_FK1
ac_Users_ac_Baskets_FK1 Definition:
Child ac_Baskets.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_Baskets_FK1
ac_Users_ac_OrderNotes_FK1 Definition:
Child ac_OrderNotes.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Users_ac_OrderNotes_FK1
ac_Users_ac_Orders_FK1 Definition:
Child ac_Orders.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Users_ac_Orders_FK1
ac_Users_ac_PageViews_FK1 Definition:
Child ac_PageViews.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_PageViews_FK1
ac_Users_ac_Profiles_FK1 Definition:
Child ac_Profiles.UserId
Cardinality:
One -to- Exactly-1
Parent UserId
136
AbleCommerce 7.0 Database Schema Allow NULLs: Physical name:
Not allowed ac_Users_ac_Profiles_FK1
ac_Users_ac_UserPasswords_FK1 Definition:
Child ac_UserPasswords.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_UserPasswords_FK1
ac_Users_ac_UserPersonalization_FK1 Definition:
Child ac_UserPersonalization.UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_UserPersonalization_FK1
Parent UserId
ac_Users_ac_UserGroups_FK1 Definition:
Child ac_UserGroups.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_UserGroups_FK1
ac_Users_ac_UserSettings_FK1 Definition:
Child ac_UserSettings.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_UserSettings_FK1
ac_Users_ac_Wishlists_FK1 Definition:
Child ac_Wishlists.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_Wishlists_FK1
ac_Users_ac_Subscriptions_FK1 Definition:
Child ac_Subscriptions.UserId
Parent UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_Subscriptions_FK1
137
AbleCommerce 7.0 Database Schema
ac_UserSettings Columns UserSettingId UserId (FK) FieldName FieldValue Foreign keys ac_Users_ac_UserSettings_FK1
Data type int identity int nvarchar(255) nvarchar(max)
Allow NULLs Not allowed Not allowed Not allowed Not allowed
Value/Range
Child UserId
Parent ac_Users.UserId
Foreign key details (child) ac_Users_ac_UserSettings_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_UserSettings_FK1
138
AbleCommerce 7.0 Database Schema
ac_VendorGroups Columns VendorId (FK) GroupId (FK)
Data type int int
Foreign keys ac_Groups_ac_VendorGroups_FK1 ac_Vendors_ac_VendorGroups_FK1
Allow NULLs Not allowed Not allowed
Value/Range
Child GroupId VendorId
Parent ac_Groups.GroupId ac_Vendors.VendorId
Foreign key details (child) ac_Groups_ac_VendorGroups_FK1 Definition:
Child GroupId
Parent ac_Groups.GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_VendorGroups_FK1
ac_Vendors_ac_VendorGroups_FK1 Definition:
Child VendorId
Parent ac_Vendors.VendorId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Vendors_ac_VendorGroups_FK1
139
AbleCommerce 7.0 Database Schema
ac_Vendors Columns VendorId StoreId (FK) Name Email
Data type int identity int nvarchar(100) nvarchar(255)
Foreign keys ac_Stores_ac_Vendors_FK1 ac_Vendors_ac_Products_FK1 ac_Vendors_ac_VendorGroups_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed
Value/Range
Child StoreId ac_Products.VendorId ac_VendorGroups.VendorId
Foreign key details (child) ac_Stores_ac_Vendors_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Vendors_FK1
Foreign key details (parent) ac_Vendors_ac_Products_FK1 Definition:
Child ac_Products.VendorId
Parent VendorId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Vendors_ac_Products_FK1
ac_Vendors_ac_VendorGroups_FK1 Definition:
Child ac_VendorGroups.VendorId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Vendors_ac_VendorGroups_FK1
140
Parent VendorId
Parent ac_Stores.StoreId VendorId VendorId
AbleCommerce 7.0 Database Schema
ac_VolumeDiscountGroups Columns VolumeDiscountId (FK) GroupId (FK)
Data type int int
Allow NULLs Not allowed Not allowed
Foreign keys ac_Groups_ac_VolumeDiscountGroups_FK1 ac_VolumeDiscounts_ac_VolumeDiscountGroups_FK1
Value/Range
Child GroupId VolumeDiscountId
Parent ac_Groups.GroupId ac_VolumeDiscounts.VolumeD iscountId
Foreign key details (child) ac_Groups_ac_VolumeDiscountGroups_FK1 Definition:
Child GroupId
Parent ac_Groups.GroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Groups_ac_VolumeDiscountGroups_FK1
ac_VolumeDiscounts_ac_VolumeDiscountGroups_FK1 Definition:
Child VolumeDiscountId
Parent ac_VolumeDiscounts.VolumeDiscountId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_VolumeDiscounts_ac_VolumeDiscountGroups_FK1
141
AbleCommerce 7.0 Database Schema
ac_VolumeDiscountLevels Columns VolumeDiscountLevelId VolumeDiscountId (FK) MinValue MaxValue DiscountAmount IsPercent Foreign keys ac_Discounts_ac_DiscountMatrix_FK1
Data type int identity int decimal(12,4) decimal(12,4) decimal(12,4) bit
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed Not allowed
Child VolumeDiscountId
Value/Range
Parent ac_VolumeDiscounts.VolumeDiscountId
Foreign key details (child) ac_Discounts_ac_DiscountMatrix_FK1 Definition:
Child VolumeDiscountId
Parent ac_VolumeDiscounts.VolumeDiscountId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Discounts_ac_DiscountMatrix_FK1
142
AbleCommerce 7.0 Database Schema
ac_VolumeDiscounts Columns VolumeDiscountId StoreId (FK) Name IsValueBased IsGlobal
Data type int identity int nvarchar(100) bit bit
Allow NULLs Not allowed Not allowed Not allowed Not allowed Not allowed
Foreign keys ac_Stores_ac_Discounts_FK1 ac_Discounts_ac_CategoryDiscountAssn_FK1
Value/Range
Child StoreId ac_CategoryVolumeDiscounts. VolumeDiscountId ac_ProductVolumeDiscounts.V olumeDiscountId ac_VolumeDiscountLevels.Vol umeDiscountId ac_VolumeDiscountGroups.Vol umeDiscountId
ac_Discounts_ac_ProductDiscountAssn_FK1 ac_Discounts_ac_DiscountMatrix_FK1 ac_VolumeDiscounts_ac_VolumeDiscountGroups_FK1
Parent ac_Stores.StoreId VolumeDiscountId VolumeDiscountId VolumeDiscountId VolumeDiscountId
Foreign key details (child) ac_Stores_ac_Discounts_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Discounts_FK1
Foreign key details (parent) ac_Discounts_ac_CategoryDiscountAssn_FK1 Definition:
Cardinality: Allow NULLs: Physical name:
Child Parent ac_CategoryVolumeDiscounts.VolumeDiscountId
VolumeDiscountId
One -to- Zero-or-More Not allowed ac_Discounts_ac_CategoryDiscountAssn_FK1
ac_Discounts_ac_ProductDiscountAssn_FK1 Definition:
Cardinality: Allow NULLs: Physical name:
Child Parent ac_ProductVolumeDiscounts.VolumeDiscountId
VolumeDiscountId
One -to- Zero-or-More Not allowed ac_Discounts_ac_ProductDiscountAssn_FK1
ac_Discounts_ac_DiscountMatrix_FK1 Definition:
Cardinality: Allow NULLs: Physical name:
Child Parent ac_VolumeDiscountLevels.VolumeDiscountId
VolumeDiscountId
One -to- Zero-or-More Not allowed ac_Discounts_ac_DiscountMatrix_FK1
ac_VolumeDiscounts_ac_VolumeDiscountGroups_FK1 Definition:
Child Parent ac_VolumeDiscountGroups.VolumeDiscountId
143
VolumeDiscountId
AbleCommerce 7.0 Database Schema Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_VolumeDiscounts_ac_VolumeDiscountGroups_FK1
144
AbleCommerce 7.0 Database Schema
ac_Warehouses Columns WarehouseId StoreId (FK) Name Address1 Address2 City Province PostalCode CountryCode (FK) Phone Fax Email
Data type int identity int nvarchar(50) nvarchar(255) nvarchar(255) nvarchar(50) nvarchar(50) nvarchar(15) char(2) nvarchar(50) nvarchar(50) nvarchar(255)
Foreign keys ac_Countries_ac_Warehouses_FK1 ac_Stores_ac_Warehouses_FK1 ac_Warehouses_ac_BasketShipments_FK1 ac_Warehouses_ac_DhlWarehouses_FK1 ac_Warehouses_ac_Shipments_FK1 ac_Warehouses_ac_Products_FK1 ac_Warehouses_ac_ShipMethodWarehouses_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed
Value/Range
Child CountryCode StoreId ac_BasketShipments.WarehouseId ac_DhlWarehouses.WarehouseId ac_OrderShipments.WarehouseId ac_Products.WarehouseId ac_ShipMethodWarehouses.Ware houseId
Foreign key details (child) ac_Countries_ac_Warehouses_FK1 Definition:
Child CountryCode
Parent ac_Countries.CountryCode
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Countries_ac_Warehouses_FK1
ac_Stores_ac_Warehouses_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Warehouses_FK1
Foreign key details (parent) ac_Warehouses_ac_BasketShipments_FK1 Definition:
Child ac_BasketShipments.WarehouseId
Parent WarehouseId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Warehouses_ac_BasketShipments_FK1
ac_Warehouses_ac_DhlWarehouses_FK1 Definition:
Child ac_DhlWarehouses.WarehouseId
Cardinality: Allow NULLs:
One -to- Exactly-1 Not allowed
145
Parent WarehouseId
Parent ac_Countries.CountryCode ac_Stores.StoreId WarehouseId WarehouseId WarehouseId WarehouseId WarehouseId
AbleCommerce 7.0 Database Schema Physical name:
ac_Warehouses_ac_DhlWarehouses_FK1
ac_Warehouses_ac_Shipments_FK1 Definition:
Child ac_OrderShipments.WarehouseId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Warehouses_ac_Shipments_FK1
Parent WarehouseId
ac_Warehouses_ac_Products_FK1 Definition:
Child ac_Products.WarehouseId
Parent WarehouseId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_Warehouses_ac_Products_FK1
ac_Warehouses_ac_ShipMethodWarehouses_FK1 Definition:
Child Parent ac_ShipMethodWarehouses.WarehouseId WarehouseId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Warehouses_ac_ShipMethodWarehouses_FK1
146
AbleCommerce 7.0 Database Schema
ac_Webpages Columns WebpageId StoreId (FK) Name Summary Description ThumbnailUrl ThumbnailAltText DisplayPage Theme HtmlHead VisibilityId Foreign keys ac_Stores_ac_Webpages_FK1
Data type int identity int nvarchar(100) nvarchar(max) nvarchar(max) varchar(255) nvarchar(255) varchar(100) varchar(100) nvarchar(max) tinyint
Allow NULLs Not allowed Not allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Allowed Not allowed
Child StoreId
Value/Range
Parent ac_Stores.StoreId
Foreign key details (child) ac_Stores_ac_Webpages_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_Webpages_FK1
147
AbleCommerce 7.0 Database Schema
ac_WishlistItemInputs Columns WishlistItemInputId WishlistItemId (FK) InputFieldId (FK) InputValue
Data type int identity int int nvarchar(max)
Foreign keys ac_InputFields_ac_WishlistItemInputs_FK1 ac_WishlistItems_ac_WishlistItemInputs_FK1
Allow NULLs Not allowed Not allowed Not allowed Not allowed
Value/Range
Child InputFieldId WishlistItemId
Parent ac_InputFields.InputFieldId ac_WishlistItems.WishlistItemId
Foreign key details (child) ac_InputFields_ac_WishlistItemInputs_FK1 Definition:
Child InputFieldId
Parent ac_InputFields.InputFieldId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_InputFields_ac_WishlistItemInputs_FK1
ac_WishlistItems_ac_WishlistItemInputs_FK1 Definition:
Child WishlistItemId
Parent ac_WishlistItems.WishlistItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_WishlistItems_ac_WishlistItemInputs_FK1
148
AbleCommerce 7.0 Database Schema
ac_WishlistItemKitProducts Columns WishlistItemId (FK) KitProductId (FK)
Data type int int
Allow NULLs Not allowed Not allowed
Foreign keys ac_KitProduct_ac_WishlistItemKitProducts_FK1 ac_WishlistItems_ac_WishlistItemKitProducts_FK1
Value/Range
Child KitProductId WishlistItemId
Parent ac_KitProducts.KitProductId ac_WishlistItems.WishlistItemId
Foreign key details (child) ac_KitProduct_ac_WishlistItemKitProducts_FK1 Definition:
Child KitProductId
Parent ac_KitProducts.KitProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_KitProduct_ac_WishlistItemKitProducts_FK1
ac_WishlistItems_ac_WishlistItemKitProducts_FK1 Definition:
Child WishlistItemId
Parent ac_WishlistItems.WishlistItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_WishlistItems_ac_WishlistItemKitProducts_FK1
149
AbleCommerce 7.0 Database Schema
ac_WishlistItems Columns WishlistItemId WishlistId (FK) ProductId (FK) OptionList Price LineMessage CreatedDate LastModifiedDate Desired Received Priority Comment
Data type int identity int int varchar(255) decimal(12,4) nvarchar(255) datetime datetime smallint smallint tinyint nvarchar(max)
Allow NULLs Not allowed Not allowed Not allowed Allowed Allowed Allowed Not allowed Not allowed Not allowed Not allowed Not allowed Allowed
Foreign keys ac_Products_ac_WishlistItems_FK1 ac_Wishlists_ac_WishlistItems_FK1 ac_WishlistItems_ac_BasketItems_FK1 ac_WishlistItems_ac_OrderItems_FK1 ac_WishlistItems_ac_WishlistItemInputs_FK1
Value/Range
Child ProductId WishlistId ac_BasketItems.WishlistItemId ac_OrderItems.WishlistItemId ac_WishlistItemInputs.WishlistIt emId ac_WishlistItemKitProducts.Wis hlistItemId
ac_WishlistItems_ac_WishlistItemKitProducts_FK1
Foreign key details (child) ac_Products_ac_WishlistItems_FK1 Definition:
Child ProductId
Parent ac_Products.ProductId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Products_ac_WishlistItems_FK1
ac_Wishlists_ac_WishlistItems_FK1 Definition:
Child WishlistId
Parent ac_Wishlists.WishlistId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Wishlists_ac_WishlistItems_FK1
Foreign key details (parent) ac_WishlistItems_ac_BasketItems_FK1 Definition:
Child ac_BasketItems.WishlistItemId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_WishlistItems_ac_BasketItems_FK1
Parent WishlistItemId
ac_WishlistItems_ac_OrderItems_FK1 Definition:
Child ac_OrderItems.WishlistItemId
Cardinality: Allow NULLs:
Zero-or-One -to- Zero-or-More Allowed
150
Parent WishlistItemId
Parent ac_Products.ProductId ac_Wishlists.WishlistId WishlistItemId WishlistItemId WishlistItemId WishlistItemId
AbleCommerce 7.0 Database Schema Physical name:
ac_WishlistItems_ac_OrderItems_FK1
ac_WishlistItems_ac_WishlistItemInputs_FK1 Definition:
Child Parent ac_WishlistItemInputs.WishlistItemId WishlistItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_WishlistItems_ac_WishlistItemInputs_FK1
ac_WishlistItems_ac_WishlistItemKitProducts_FK1 Definition:
Child Parent ac_WishlistItemKitProducts.WishlistItemId WishlistItemId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_WishlistItems_ac_WishlistItemKitProducts_FK1
151
AbleCommerce 7.0 Database Schema
ac_Wishlists Columns WishlistId UserId (FK) Name ViewPassword
Data type int identity int nvarchar(50) nvarchar(50)
Foreign keys ac_Users_ac_Wishlists_FK1 ac_Wishlists_ac_WishlistItems_FK1
Allow NULLs Not allowed Not allowed Allowed Allowed
Value/Range
Child UserId ac_WishlistItems.WishlistId
Parent ac_Users.UserId WishlistId
Foreign key details (child) ac_Users_ac_Wishlists_FK1 Definition:
Child UserId
Parent ac_Users.UserId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Users_ac_Wishlists_FK1
Foreign key details (parent) ac_Wishlists_ac_WishlistItems_FK1 Definition:
Child ac_WishlistItems.WishlistId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Wishlists_ac_WishlistItems_FK1
152
Parent WishlistId
AbleCommerce 7.0 Database Schema
ac_WrapGroups Columns WrapGroupId StoreId (FK) Name
Data type int identity int nvarchar(50)
Foreign keys ac_Stores_ac_WrapGroups_FK1 ac_WrapGroups_ac_Products_FK1 ac_WrapGroups_ac_WrapStyles_FK1
Allow NULLs Not allowed Not allowed Not allowed
Value/Range
Child StoreId ac_Products.WrapGroupId ac_WrapStyles.WrapGroupId
Foreign key details (child) ac_Stores_ac_WrapGroups_FK1 Definition:
Child StoreId
Parent ac_Stores.StoreId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_Stores_ac_WrapGroups_FK1
Foreign key details (parent) ac_WrapGroups_ac_Products_FK1 Definition:
Child ac_Products.WrapGroupId
Parent WrapGroupId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_WrapGroups_ac_Products_FK1
ac_WrapGroups_ac_WrapStyles_FK1 Definition:
Child ac_WrapStyles.WrapGroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_WrapGroups_ac_WrapStyles_FK1
153
Parent WrapGroupId
Parent ac_Stores.StoreId WrapGroupId WrapGroupId
AbleCommerce 7.0 Database Schema
ac_WrapStyles Columns WrapStyleId WrapGroupId (FK) Name TaxCodeId (FK) Price ThumbnailUrl ImageUrl OrderBy
Data type int identity int nvarchar(50) int decimal(12,4) varchar(255) varchar(255) smallint
Foreign keys ac_TaxCodes_ac_WrapStyles_FK1 ac_WrapGroups_ac_WrapStyles_FK1 ac_WrapStyles_ac_BasketItems_FK1 ac_WrapStyles_ac_OrderItems_FK1
Allow NULLs Not allowed Not allowed Not allowed Allowed Not allowed Allowed Allowed Not allowed
Value/Range
Child TaxCodeId WrapGroupId ac_BasketItems.WrapStyleId ac_OrderItems.WrapStyleId
Parent ac_TaxCodes.TaxCodeId ac_WrapGroups.WrapGroupId WrapStyleId WrapStyleId
Foreign key details (child) ac_TaxCodes_ac_WrapStyles_FK1 Definition:
Child TaxCodeId
Parent ac_TaxCodes.TaxCodeId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_TaxCodes_ac_WrapStyles_FK1
ac_WrapGroups_ac_WrapStyles_FK1 Definition:
Child WrapGroupId
Parent ac_WrapGroups.WrapGroupId
Cardinality: Allow NULLs: Physical name:
One -to- Zero-or-More Not allowed ac_WrapGroups_ac_WrapStyles_FK1
Foreign key details (parent) ac_WrapStyles_ac_BasketItems_FK1 Definition:
Child ac_BasketItems.WrapStyleId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_WrapStyles_ac_BasketItems_FK1
Parent WrapStyleId
ac_WrapStyles_ac_OrderItems_FK1 Definition:
Child ac_OrderItems.WrapStyleId
Cardinality: Allow NULLs: Physical name:
Zero-or-One -to- Zero-or-More Allowed ac_WrapStyles_ac_OrderItems_FK1
154
Parent WrapStyleId