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.
Create/Update record of RetailLoyaltyCardTier based on the given parameters
Syntax
client server private static void createOrUpdateLoyaltyCardTier(
RefRecId _affiliationId,
RefRecId _loyaltyTierId,
RefRecId _loyaltyCardId,
date _validFrom,
date _validTo)
Run On
Called
Parameters
- _affiliationId
Type: RefRecId Extended Data Type
the affiliation recId
- _loyaltyTierId
Type: RefRecId Extended Data Type
the loyalty tier recId
- _loyaltyCardId
Type: RefRecId Extended Data Type
the loyalty card recId
- _validFrom
Type: date
the valid from date
- _validTo
Type: date
the valid to date
Remarks
First check if record of RetailLoyaltyCardTier exist or not.
If not, create a new record in RetailLoyaltyCardTierIf exist, then validate the overLap and update the record of RetailLoyaltyCardTier accordingly.