StockOutThreshold Property

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

Gets or sets the stock out threshold.

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

Syntax

'Declaration
Public Property StockOutThreshold As Decimal
'Usage
Dim instance As InventorySku
Dim value As Decimal

value = instance.StockOutThreshold

instance.StockOutThreshold = value
public decimal StockOutThreshold { get; set; }
public:
property Decimal StockOutThreshold {
    Decimal get ();
    void set (Decimal value);
}
public function get StockOutThreshold () : decimal
public function set StockOutThreshold (value : decimal)

Property Value

Type: System..::.Decimal
The stock out threshold. Default is 0.

Remarks

This attribute specifies the value of the stock out threshold for the product. The StockOutThreshold cannot be less than 0. A stock-out value is a value that the SKU’s quantity must be above or equal to be considered in-stock, for example 1 or 0, usually a low and safe value.

Permissions

See Also

Reference

InventorySku Class

InventorySku Members

Microsoft.CommerceServer.Inventory Namespace