Share via


RetailLoyaltyManager::DeductPositiveRemainings Method [AX 2012]

Uses the returned points or the negative adjusted points of a transaction to deduct the positive balances of the previous transactions, if any.

Syntax

client server private static RetailLoyaltyRewardPointAmountQty DeductPositiveRemainings(
    RefRecId _retailLoyaltyCardRewardPointTransRecId, 
    date _transDate, 
    RetailLoyaltyCardNumber _cardNumber, 
    RefRecId _rewardPointRecid, 
    RetailLoyaltyRewardPointAmountQty _points)

Run On

Called

Parameters

  • _retailLoyaltyCardRewardPointTransRecId
    Type: RefRecId Extended Data Type
    The record ID of the current RetailLoyaltyCardRewardPointTrans record.
  • _transDate
    Type: date
    The entry date of the current RetailLoyaltyCardRewardPointTrans record.

Return Value

Type: RetailLoyaltyRewardPointAmountQty Extended Data Type
The remaining points.

See Also

Reference

RetailLoyaltyManager Class