RetailLoyaltyManager::CalculateActivityAmountOrQuantity Method [AX 2012]
Calculates the amount or quantity of the loyalty activity of the given sales order
Syntax
client server private static RetailLoyaltyActivityAmountQty CalculateActivityAmountOrQuantity(
SalesTable _salesTable,
RetailLoyaltyEarnSchemeLine _earnSchemeLine,
RetailLoyaltyRewardPointEntryType _entryType)
Run On
Called
Parameters
- _salesTable
Type: SalesTable Table
The sales table.
- _earnSchemeLine
Type: RetailLoyaltyEarnSchemeLine Table
The earning rule.
- _entryType
Type: RetailLoyaltyRewardPointEntryType Enumeration
The entry type of the reward point.
Return Value
Type: RetailLoyaltyActivityAmountQty Extended Data Type
The result amount or quantity.