TAMTradePromotion::calcPromotionSummary Method
Calculates the summary amounts for the promotion.
Syntax
server public static container calcPromotionSummary(
[TAMPromotionID _tamPromotionID,
FromDate _fromDate,
ToDate _toDate,
TAMStatus _tamStatus,
TAMStatusFilter _tamStatusFilter])
Run On
Server
Parameters
- _tamPromotionID
Type: TAMPromotionID Extended Data Type
The TAMPromotionId of the promotion for which to calculate the total summary amounts; optional.
- _fromDate
Type: FromDate Extended Data Type
The start date for the calculation period; optional.
- _toDate
Type: ToDate Extended Data Type
The end date for the calculation period; optional.
- _tamStatus
Type: TAMStatus Enumeration
The promotion status parameter that defines the status criteria for the calculation; optional.
- _tamStatusFilter
Type: TAMStatusFilter Enumeration
The promotion status filter parameter used to define the status criteria for the calculation; optional.
Return Value
Type: container
A container of the total summary amounts for the promotion.