Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Calculates the earned points by applying the given earning rule.
Syntax
client server private static RetailLoyaltyRewardPointAmountQty CalculateEarnedPointsBySchemeLine(
SalesTable _salesTable,
RetailLoyaltyEarnSchemeLine _earnSchemeLine,
RetailLoyaltyRewardPoint _rewardPoint,
RetailLoyaltyRewardPointEntryType _entryType)
Run On
Called
Parameters
- _salesTable
Type: SalesTable Table
The sales table.
- _earnSchemeLine
Type: RetailLoyaltyEarnSchemeLine Table
The earning rule.
- _rewardPoint
Type: RetailLoyaltyRewardPoint Table
The reward point to earn.
- _entryType
Type: RetailLoyaltyRewardPointEntryType Enumeration
The entry type of the rewardn point.
Return Value
Type: RetailLoyaltyRewardPointAmountQty Extended Data Type
The calculation result.