Compartir a través de


TAMTradePromotion::calcDeductAmt Method

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.
  • _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.

See Also

Reference

TAMTradePromotion Table