Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / TaxReportDataSource Class / CountDetail Method / CountDetail(String,String,DateTime,DateTime) Method
Name of tax to load detail for
Location code (only required for Washington State Tax provider)
Inclusive start date to consider
Inclusive end date to consider
In This Topic
    CountDetail(String,String,DateTime,DateTime) Method
    In This Topic
    Counts the number of TaxReportDetailItem objects in result if retrieved using the given date range.
    Syntax
    public static int CountDetail( 
       string taxName,
       string locCode,
       DateTime startDate,
       DateTime endDate
    )

    Parameters

    taxName
    Name of tax to load detail for
    locCode
    Location code (only required for Washington State Tax provider)
    startDate
    Inclusive start date to consider
    endDate
    Inclusive end date to consider

    Return Value

    The number of TaxReportDetailItem objects present wtihin the date range.
    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