Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / IOrderRepository Interface / Search Method / Search(Int32,OrderPaymentStatus,OrderShipmentStatus,DateTime,DateTime,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
Sort expression to use for sorting the loaded objects
In This Topic
    Search(Int32,OrderPaymentStatus,OrderShipmentStatus,DateTime,DateTime,String) Method
    In This Topic
    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
    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