Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderStatus Class / OrderStatus Constructor / OrderStatus Constructor(Store,String,Int16,Boolean,Boolean)
The store that defines this order status
The name of the status as it appears in the admin
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
Version
OrderStatus Constructor(Store,String,Int16,Boolean,Boolean)
Initializes a new instance of the OrderStatus class.
Syntax
[Obsolete("Use a constructor that strongly types the InventoryAction parameter.")]
public OrderStatus( 
   Store store,
   string name,
   short inventoryActionId,
   bool isActive,
   bool isValid
)

Parameters

store
The store that defines this order status
name
The name of the status as it appears in the admin
inventoryActionId
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
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