RetailLoyaltyManager::FindLoyaltyEarnSchemeLinesByLoyaltyTier Method [AX 2012]
Finds the earning rules by the given loyalty tier.
Syntax
client server public static RetailLoyaltyEarnSchemeLine FindLoyaltyEarnSchemeLinesByLoyaltyTier(
RefRecId _channelOU,
RefRecId _affiliation,
RefRecId _loyaltyTier,
date _date)
Run On
Called
Parameters
- _channelOU
Type: RefRecId Extended Data Type
The record identifier of the operating unit of the channel.
- _affiliation
Type: RefRecId Extended Data Type
The record identifier of the loyalty program.
- _loyaltyTier
Type: RefRecId Extended Data Type
The record identifier of the loyalty tier. The value can be 0.
- _date
Type: date
The valid date of the earning rules.
Return Value
Type: RetailLoyaltyEarnSchemeLine Table
The found rules.