Jaa


InventoryCondition Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The inventory condition of the Entityname.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public ReadOnly Property InventoryCondition As InventoryCondition
'Usage
Dim instance As InventoryQuantityException
Dim value As InventoryCondition

value = instance.InventoryCondition
public InventoryCondition InventoryCondition { get; }
public:
property InventoryCondition InventoryCondition {
    InventoryCondition get ();
}
public function get InventoryCondition () : InventoryCondition

Property Value

Type: Microsoft.CommerceServer.Inventory..::.InventoryCondition
The InventoryCondition containing the condition of this Inventory Quantity.

Remarks

The InventoryCondition enumerated values are:

  • Back ordered - Sku is back-ordered. If a product or variant is considered on Back-Order by the inventory system it may not be shown, or be shown as Back-Ordered and not available or Back-Ordered but still available to order.

  • InStock - Sku is in stock. The quantity is in stock to meet the request.

  • OutOfStock - Sku is out of stock. When a SKU can no longer be sold due to quantity conditions, being disabled or if it's missing (depending on the site configuration).

  • Preordered - Sku is pre-ordered. If a product or variant is considered pre-order by the inventory system it is always displayed and can be purchased on the site.

Permissions

See Also

Reference

InventoryQuantityException Class

InventoryQuantityException Members

Microsoft.CommerceServer.Inventory Namespace