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.

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.
_cardNumber
Type: RetailLoyaltyCardNumber Extended Data Type
The loyalty card number.
_rewardPointRecid
Type: RefRecId Extended Data Type
The record ID of the reawrd point.
_points
Type: RetailLoyaltyRewardPointAmountQty Extended Data Type
The negative points.

Return Value

Type: RetailLoyaltyRewardPointAmountQty Extended Data Type
The remaining points.
Show: