Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderStatus Class / OrderStatus Constructor / OrderStatus Constructor(Store,String,String,InventoryAction,Boolean,Boolean,Int32)
The store that defines this order status
The name of the status as it appears in the admin
The name of the status as it appears to customers
The action to take on inventory when this status is set
Indicates whether the order is actively being processed
Indicates whether the order is valid and should be included in sales reports
The sort order of this status in relation to others in lists. Pass -1 for auto-calculation to the next highest value.
Version
OrderStatus Constructor(Store,String,String,InventoryAction,Boolean,Boolean,Int32)
Initializes a new instance of the OrderStatus class.
Syntax

Parameters

store
The store that defines this order status
name
The name of the status as it appears in the admin
displayName
The name of the status as it appears to customers
inventoryAction
The action to take on inventory when this status is set
isActive
Indicates whether the order is actively being processed
isValid
Indicates whether the order is valid and should be included in sales reports
orderBy
The sort order of this status in relation to others in lists. Pass -1 for auto-calculation to the next highest value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also