TransactionJournal

Represents the details of an advocate or their referred party’s activity. This object is available in API version 49.0 and later.

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

Type: dateTime

Properties: Create, Filter, Sort, Update

Description: Required. The date of the event.

Type: string

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

Description: The reference number of event from an external system.

Type: reference

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

Description: The ID of the journal subtype associated with the transaction journal. The associated journal subtype specifies the type of event for which the transaction journal is created.

This field is a relationship field.

Relationship Name: JournalSubType

Relationship Type: Lookup

Refers To: JournalSubType

Type: reference

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

Description: The ID of the journal type associated with the transaction journal. In Referral Marketing, the journal type is always Referral.

This field is a relationship field.

Relationship Name: JournalType

Relationship Type: Lookup

Refers To: JournalType

Type: dateTime

Properties: Filter, Nillable, Sort

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

Type: dateTime

Properties: Filter, Nillable, Sort

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

Type: reference

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

Description: The ID of the referral program for which the transaction journal was created.

This field is a relationship field.

Relationship Name: LoyaltyProgram

Relationship Type: Lookup

Refers To: LoyaltyProgram

Type: reference

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

Description: The ID of the advocate’s Loyalty Program Member record that’s associated with the transaction journal.

This field is a polymorphic relationship field.

Relationship Name: Member

Relationship Type: Lookup

Refers To: LoyaltyProgramMember

Type: string

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

Description: The unique number of the transaction journal.

Type: reference

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

Description: The ID of the promotion for which the transaction journal was created.

This field is a relationship field.

Relationship Name: Promotion

Relationship Type: Lookup

Refers To: Promotion

Type: string

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

Description: The referral code that was used by a referred party to sign up as a new customer.

Type: reference

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

Description: The ID of the Referral record associated with the referred party.

This field is a relationship field.

Relationship Name: Referral

Relationship Type: Lookup

Refers To: Referral

Type: reference

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

Description: Reserved for internal use and isn’t required for B2C or B2B referral programs. Don’t use this field to customize or extend your implementation.

This field is a relationship field.

Relationship Name: ReferredMember

Relationship Type: Lookup

Refers To: LoyaltyProgramMember

Type: reference

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

Description: The ID of the Contact or Person Account associated with the referred friend for a B2C referral program.

The ID of the Lead or Business Account associated with the referred party for a B2B referral program.

This field is a polymorphic relationship field.

Relationship Name: ReferredParty

Relationship Type: Lookup

Refers To: Account, Contact

Type: picklist

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

Description: Required. The status of the transaction journal.

Possible values are:

  • Cancelled
  • Error
  • Pending
  • Processed
  • Approved—Reserved for internal use and isn’t required for B2C or B2B referral programs. Don’t use this field to customize or extend your implementation.
  • ProcessingError—Reserved for internal use and isn’t required for B2C or B2B referral programs. Don’t use this field to customize or extend your implementation.
  • SystemApproved—Reserved for internal use and isn’t required for B2C or B2B referral programs. Don’t use this field to customize or extend your implementation.
  • SystemRejected—Reserved for internal use and isn’t required for B2C or B2B referral programs. Don’t use this field to customize or extend your implementation.

The default value is Pending.

Type: currency

Properties: Create, Filter, Nillable, Sort, Update

Description: Reserved for internal use and isn’t required for B2C or B2B referral programs. Don’t use this field to customize or extend your implementation.

Type: picklist

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

Description: Specifies which Salesforce product created the record.

Possible values are:

  • Loyalty—Reserved for internal use and isn’t required for B2C or B2B referral programs. Don’t use this value to customize or extend your implementation.
  • Rebates—Reserved for internal use and isn’t required for B2C or B2B referral programs. Don’t use this value to customize or extend your implementation.
  • Referral—Use this value for Referral Marketing activities.