Home > Contents > Index >  
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

vdm:gethistorysum

Sums the entries in a specific field for the specified history type.

Syntax

Parameters

attribute (required)
Input parameter. Name of a history type or name of an external history vector (that is, a vector of history data stored in the Transact database).

field (required)
Input and output parameter. Name of the history attribute in the history type, or the vector attribute in the external history vector to sum.

varname (required)
Input and output parameter. As input, name of a variable to create on output to hold the sum.

startdate (optional)
Input parameter. Start date in milliseconds from epoch.

enddate (optional)
Input parameter. End date in milliseconds from epoch.

list (optional)
Input parameter. Name of a list of values to use to constrain the sum. The list has two columns:

Use this argument if you want to sum only the instances of this record that match specific criteria. There might be more than one row for the same field.

Description

You can use this tag to sum the amount of money a visitor spent during a period of time.

   Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2016 Oracle and/or its affiliates. All rights reserved.