PreorderQuantity Property

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

Gets or sets the pre-order quantity for the current line item.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

public decimal PreorderQuantity { get; set; }

Property Value

Type: System..::.Decimal
The number of pre-ordered items for the current instance. Cannot be zero or less.

ExceptionCondition
ArgumentException

The value being set is less than zero. Assign PreorderQuantity a value greater than or equal to zero to prevent this exception.

InvalidOperationException

quantity is not a whole number.

The Inventory pipeline component is responsible for populating this property.

Show: