Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / IOrderRepository Interface / Search Method / Search(Int32,OrderPaymentStatus,OrderShipmentStatus,DateTime,DateTime,Int32,Int32,String) Method
order status Id of the orders to search
payment status of the orders to search
shipment status of the orders to search
starting date for search
ending date for search
Maximum number of rows to retrieve
Starting index from where to start retrieving
Sort expression to use for sorting the loaded objects
Version
Search(Int32,OrderPaymentStatus,OrderShipmentStatus,DateTime,DateTime,Int32,Int32,String) Method
Search orders for given criteria
Syntax

Parameters

orderStatusId
order status Id of the orders to search
paymentStatus
payment status of the orders to search
shipmentStatus
shipment status of the orders to search
startDate
starting date for search
endDate
ending date for search
maximumRows
Maximum number of rows to retrieve
startRowIndex
Starting index from where to start retrieving
sortExpression
Sort expression to use for sorting the loaded objects

Return Value

Collection of orders for given criteria
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