RetailTransactionService::GetLoyaltyCardRewardPointsStatus Method [AX 2012]
Gets the reward point status of the loyalty card(s) including Issued, Used, Expired, and Active points.
Syntax
client server public static container GetLoyaltyCardRewardPointsStatus(
str channelLocalDateStr,
RetailLoyaltyCardNumber _cardNumber,
boolean _excludeBlocked,
boolean _excludeNoTender,
boolean _includeRelatedCardsForContactTender,
boolean _includeNonRedeemablePoints,
boolean _includeActivePointsOnly,
[LanguageIdAll _languageId])
Run On
Called
Parameters
- channelLocalDateStr
Type: str
The channel local date in 213 sequence.
- _cardNumber
Type: RetailLoyaltyCardNumber Extended Data Type
The loyalty card number.
- _excludeBlocked
Type: boolean
The flag indicating whether to exclude the card status if the card is blocked.
- _excludeNoTender
Type: boolean
The flag indicating whether to exclude the card status if the card is no tender.
- _includeRelatedCardsForContactTender
Type: boolean
The flag indicating whether to include the status of the related cards if the given card is contact tender.
- _includeNonRedeemablePoints
Type: boolean
The flag indicating whether to include non-redeemable points status in the result.
- _includeActivePointsOnly
Type: boolean
The flag indicating whether to return only the active points; otherwise, returns the status of issued, used and expired points as well.
- _languageId
Type: LanguageIdAll Extended Data Type
The language ID of the reward point description.
Return Value
Type: container
The result container contains [isSuccess, Message, PointStatusXML].
A sample of XML is provided in the source code.