Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Stores Namespace / IStoreRepository Interface / GetNextOrderNumber Method
If true, the order number returned is 'assigned' and the next number will be advanced by the increment.
In This Topic
    GetNextOrderNumber Method (IStoreRepository)
    In This Topic
    Gets the next order number for a store
    Syntax
    int GetNextOrderNumber( 
       bool increment
    )

    Parameters

    increment
    If true, the order number returned is 'assigned' and the next number will be advanced by the increment.

    Return Value

    The next order number for a store
    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