LoyaltyProgramPartnerLedger

Represents the ledger used by a loyalty program to credit points to or debit points from a prepaid partner’s points pack or from a postpaid partner’s point balance. This ledger can also be used to add or deduct the monetary value of points from the partner’s postpaid bill. This object is available in API version 55.0 and later.

Supported Calls 

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

Fields 

ActivityDate 

Type: dateTime

Properties: Create, Filter, Sort, Update

Description: Required. The date on which the loyalty program member transacts with the loyalty program partner.

LoyaltyLedgerId 

Type: reference

Properties: Create, Filter, Group, Sort, Update

Description: Required. Specifies the type of the loyalty program partner ledger.

This is a relationship field.

Relationship Name: LoyaltyLedger

Relationship Type: Lookup

Refers To: LoyaltyLedger

LoyaltyProgramMemberId 

Type: reference

Properties: Create, Filter, Group, Sort, Update

Description: Required. The loyalty program member that’s related to the loyalty program partner ledger.

This is a relationship field.

Relationship Name: LoyaltyProgramMember

Relationship Type: Lookup

Refers To: LoyaltyProgramMember

LoyaltyProgramPartnerId 

Type: reference

Properties: Create, Filter, Group, Sort, Update

Description: Required. The loyalty program partner that’s related to the loyalty program partner ledger.

This is a relationship field.

Relationship Name: LoyaltyProgramPartner

Relationship Type: Lookup

Refers To: LoyaltyProgramPartner

Points 

Type: double

Properties: Create, Filter, Sort, Update

Description: Required. The number of points credited to or debited from the loyalty program partner’s points balance or postpaid account balance.

PromotionId 

Type: reference

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The promotion that’s related to the loyalty program partner ledger.

This is a relationship field.

Relationship Name: Promotion

Relationship Type: Lookup

Refers To: Promotion

TransactionJournalId 

Type: reference

Properties: Create, Filter, Group, Sort, Update

Description: Required. The transaction journal that’s related to the loyalty program partner ledger.

This is a relationship field.

Relationship Name: TransactionJournal

Relationship Type: Lookup

Refers To: TransactionJournal

Type 

Type: picklist

Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

Description: Required. Specifies the type of the loyalty program partner ledger.

Possible values are:

  • Credit
  • CreditCancellation—Credit Cancellation
  • Debit
  • DebitCancellation—Debit Cancellation

The default value is Credit.

Associated Objects 

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

LoyaltyProgramPartnerLedgerChangeEvent: Change events are available for the object.