StockStatus Enumeration
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Specifies the status of an inventory SKU.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Enumeration StockStatus
'Usage
Dim instance As StockStatus
public enum StockStatus
public enum class StockStatus
public enum StockStatus
Members
Member name | Description | |
---|---|---|
Disabled | The SKU is disabled. | |
Enabled | The SKU is enabled. | |
Ignored | The SKU is ignored. |
Remarks
The SKU is the catalog inventory data. The enumeration is a value for the StockStatus:
Disabled - The SKU is considered out of stock regardless of its current quantity; a fast way to temporarily stop a product from being sold.
Enabled - The SKU is determined to be in-stock or out of stock or back-ordered or pre-ordered depending on its quantity and Stock-Out Threshold.
Ignored - The SKU is bypassed by the inventory management system. It is treated as in-stock for display purposes and ordering. This allows gift certificates or other "infinite stock" products to be sold on the site.