PromotionPartyUsageDetail

Represents the amount that’s discounted by a promotion for a transaction journal. This object is available in API version 60.0 and later.

Supported Calls 

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

Special Access Rules 

PromotionPartyUsageDetail is only available in orgs where Global Promotions Management is enabled.

Fields 

AccountId 

Type: reference

Properties: Filter, Group, Nillable, Sort

Description: ID of the account associated with the organization that has used the promotion.

This field is a relationship field.

Relationship Name: Account

Relationship Type: Lookup

Refers To: Account

ContactId 

Type: reference

Properties: Filter, Group, Nillable, Sort

Description: ID of the contact associated with the person who has used the promotion.

This field is a relationship field.

Relationship Name: Contact

Relationship Type: Lookup

Refers To: Contact

CouponId 

Type: reference

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

Description: The coupon that’s applied as a part of the promotion to provide discounts to the customer. This field is available in API version 66.0 and later.

This field is a relationship field.

Relationship Name: Coupon

Refers To: Coupon

DiscountAmount 

Type: currency

Properties: Create, Filter, Nillable, Sort, Update

Description: The monetary discount provided to the person or organization who has availed the promotion.

LastReferencedDate 

Type: dateTime

Properties: Filter, Nillable, Sort

Description: The most recent date on which a user referenced this record.

LastViewedDate 

Type: dateTime

Properties: Filter, Nillable, Sort

Description: The most recent date on which a user viewed this record.

LoyaltyProgramMemberId 

Type: reference

Properties: Filter, Group, Nillable, Sort

Description: ID of the loyalty program member who has used the promotion.

This field is a relationship field.

Relationship Name: LoyaltyProgramMember

Relationship Type: Lookup

Refers To: LoyaltyProgramMember

Name 

Type: string

Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort

Description: The autogenerated unique number of the record.

OfferId 

Type: reference

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

Description: The offer that’s used to provide promotional discounts to the customer. This field is available in API version 66.0 and later.

This field is a relationship field.

Relationship Name: Offer

Refers To: Offer

PartyId 

Type: reference

Properties: Create, Filter, Group, Sort

Description: ID of the person or the organization that has been provided the discount.

This field is a polymorphic relationship field.

Relationship Name: Party

Relationship Type: Lookup

Refers To: Account, Contact, LoyaltyProgramMember

PartyType 

Type: picklist

Properties: Filter, Group, Nillable, Restricted picklist, Sort

Description: The type of customer that has been provided the discount.

Possible values are:

  • Account
  • Contact
  • LoyaltyProgramMember

PromotionId 

Type: reference

Properties: Create, Filter, Group, Sort, Update

Description: Required. The promotion that has provided the discount to the customer.

This field is a relationship field.

Relationship Name: Promotion

Relationship Type: Lookup

Refers To: Promotion

TransactionJournalId 

Type: reference

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

Description: ID of the transaction journal that represents the customer activity for which the promotion has been applied.

This field is a relationship field.

Relationship Name: TransactionJournal

Relationship Type: Lookup

Refers To: TransactionJournal