Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Calculates the total deduction amount associated with the promotion.
Syntax
server public static MCRClaimAmount calcDeductAmt(
[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 associated deduction amount; 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: MCRClaimAmount Extended Data Type
The total deduction amount associated with the promotion.