RetailLoyaltyCollection Class [AX 2012]
The RetailLoyaltyCollection class is used for calculating the item, product group, and tender loyalty pointsin addition to the used, issued, and expired points.
| 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.) |
| ::backup_registerPoints | Creates a record in the RetailLoyaltyMSRCardTrans table. |
| ::calculateExpirationDate | Calculates and returns the expiry date. |
| ::calculatePoints | Calculates the loyalty points for item, product group, and tender types. |
| ::calculatePointsFromCustInvoiceJour | Calculates and registers loyalty points for a customer order based on its invoice. |
| ::calculatePointsFromRBOTransactionTable | Selects the transactions that have not been posted and are not of status voided, posted, and training and creates a record in the RetailLoyaltyMSRCardTrans table for issued and used points. |
| ::checkPointStatus | Calculates the loyalty points for item, product group, and tender types. |
| ::expiredPoints | Gets the sum of the expired points. |
| ::getLoyaltyPointsStatusExtended | Gets the extended loyalty card information. |
| ::getLoyaltyPointStatus | Calculates the used, issued, and expired points. |
| ::issuedPoints | Gets the sum of the issued points. |
| ::pointStatus | Gets the calculated points. |
| ::ReconcilePointsFromRBOTxLoyaltyPtsTrans | Copies loyalty transactions that did not go through the transaction service from the RetailTransactionLoyaltyPointsTrans table to the RetailLoyaltyMSRCardTrans table. |
| ::registerPoints | Creates records in the RetailLoyaltyMSRCardTrans table for issued and used points. |
| ::updateLoyaltyIssuedPoints | Creates a record in the RetailLoyaltyMSRCardTrans table for issued points. |
| ::updateLoyaltyUsedPoints | Creates a record in the RetailLoyaltyMSRCardTrans table for used points. |
| ::usedPoints | Gets the sum of the used points. |
Community Additions
ADD
Show: