Share via


RetailLoyaltyManager Class [AX 2012]

Manager class for loyalty

Syntax

class RetailLoyaltyManager

Run On

Called

Methods

  Method Description
Dn678009.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn678009.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::CalculateActivityAmountOrQuantity Calculates the amount or quantity of the loyalty activity of the given sales order
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::CalculateEarnedPointsBySchemeLine Calculates the earned points by applying the given earning rule.
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::CheckThresholdAndCalculateEarnedPoints Checks the threshold of the earning rule, and calculates the earned points.
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::copyCardRewardPointTrans
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::copyLoyaltyCardTransactions Copying transactions which are related to source loyalty card to destination loyalty card.Transactions of following tables will be copied: RetailLoyaltyCardRewardPointTrans, RetailLoyaltyCardRewardPointDeductionRetailLoyaltyCardTier
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::copyRewardPointDeduction
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::createOrUpdateLoyaltyCardTier Create/Update record of RetailLoyaltyCardTier based on the given parameters
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::DeductPositiveRemainings Uses the returned points or the negative adjusted points of a transaction to deduct the positive balances of the previous transactions, if any.
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::EvaluateLoyaltyCardTiers Evaluate the card tiers for the given card.
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::FindLoyaltyEarnSchemeLines Finds the earning rules that applies to the given loyalty card.
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::FindLoyaltyEarnSchemeLinesByLoyaltyTier Finds the earning rules by the given loyalty tier.
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::FindMaxLoyaltyCardTiers Finds the highest loyalty card tiers of the given loyalty card.
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::GenerateLoyaltyCardRewardPointTrans Generates the reward point transactions from a sales order.
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::getLoyaltyPointStatus62 Calculates amount of active default loyalty points by card number.
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::IncreaseNegativeRemainings Uses the earned points or the positive adjusted points of a transaction to cover the negative balances of the previous transactions, if any.
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::mergeLoyaltyCardTier
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::PostCardTransFromSalesTable Posts loyalty card transactions from the completely invoiced sales order.
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::PostLoyaltyCardRewardPointTrans Posts reward points to the PostLoyaltyCardRewardPointTrans table.
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::PostLoyaltyCardTransAdjust
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::PostLoyaltyCardTransEarn
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::PostLoyaltyCardTransRedeem
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::PostLoyaltyCardTransRefund
Dn678009.privmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::PostLoyaltyCardTransReturnEarned
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::RoundRewardPoints Rounds the reward points based on the given reward point.
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::UpdateLoyaltyGroupsForCustomerOrder Updates records in RetailSalesAffiliation table with loyalty groups records.
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::updateLoyaltyIssuedPoints62 Updates issued default loyalty points.
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::updateLoyaltyUsedPoints62 Updates used default loyalty points.
Dn678009.pubmethod(en-us,AX.60).gif Dn678009.static(en-us,AX.60).gif ::ValidateLoyaltyCardRewardPointTrans Validates a loyalty card transaction.

Top

Inheritance Hierarchy

Object Class
  RetailLoyaltyManager Class