TAMTradePromotion::calcTransactionAmt Method
Calculates the total credit and vendor payment amount paid for the promotion.
Syntax
server public static container calcTransactionAmt(
[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 credit amount paid; 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 holding the total credit and payment amount for the promotion.