Share via


StockOutThreshold Property

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

Gets or sets the value in StockOutThresholdColumn column of the InventorySkusDataSet..::.InventorySkusDataTable table.

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

Syntax

'Declaration
Public Property StockOutThreshold As Decimal
'Usage
Dim instance As InventorySkusDataSet..::.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
Stock-out Quantity. A “fudge factor” value that the SKU’s quantity must be above or equal to be considered in-stock.

Exceptions

Exception Condition
StrongTypingException

The value for column StockOutThreshold in table InventorySkus is DBNull.

Remarks

The value in the StockOutThresholdColumn column of the InventorySkusDataSet..::.InventorySkusDataTable table.

Stock-out Quantity. A “fudge factor” value that the SKU’s quantity must be above or equal to be considered in-stock. e.g. 1 or 0. Usually a low, safe value. Often kept as 1 so that the item shows up; because if inventory is 1 then some systems do not show the item itself, thus losing potential Back-Order sales)

Permissions

See Also

Reference

InventorySkusDataSet..::.InventorySku Class

InventorySkusDataSet..::.InventorySku Members

Microsoft.CommerceServer.Inventory Namespace