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