Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / Subscription Class / IsOrderGenerationDue Method
The number of days before order is supposed to be generated before the the next order due date. Default is 0 which indicates no restriction.
In This Topic
    IsOrderGenerationDue Method
    In This Topic
    Gets a value indicating whether next order for this subscription needs to be generated
    Syntax
    public virtual bool IsOrderGenerationDue( 
       int toGenerateBeforeDays
    )

    Parameters

    toGenerateBeforeDays
    The number of days before order is supposed to be generated before the the next order due date. Default is 0 which indicates no restriction.

    Return Value

    A value indicating whether next order for this subscription needs to be generated.
    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