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