Newer Version Available

This content describes an older version of this product. View Latest

TransactionJournal

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

Supported Calls

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

Fields

Field Details
ActivityDate
Type
dateTime
Properties
Create, Filter, Sort, Update
Description
Required. The date of the event.
ExternalTransactionNumber
Type
string
Properties
Create, Filter, Group, idLookup, Nillable, Sort, Update
Description
The reference number of event from an external system.
JournalSubTypeId
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
JournalTypeId
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
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.
LoyaltyProgramId
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
MemberId
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
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The unique number of the transaction journal.
PromotionId
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
ReferralCode
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The referral code that was used by a referred friend to sign up as a new customer.
ReferralId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the Referral record associated with the referred friend.
This field is a relationship field.
Relationship Name
Referral
Relationship Type
Lookup
Refers To
Referral
ReferredMemberId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Reserved for internal use.
This field is a relationship field.
Relationship Name
ReferredMember
Relationship Type
Lookup
Refers To
LoyaltyProgramMember
ReferredPartyId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The ID of the Contact or Person Account associated with the referred friend.
This field is a polymorphic relationship field.
Relationship Name
ReferredParty
Relationship Type
Lookup
Refers To
Account, Contact
Status
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
The default value is Pending.
TransactionAmount
Type
currency
Properties
Create, Filter, Nillable, Sort, Update
Description
Reserved for internal use.
UsageType
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort
Description
Specifies which Salesforce product created the record.
Possible values are:
  • Loyalty
  • Rebates
  • Referral—Use this value for Referral Marketing activities.

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.

TransactionJournalChangeEvent
Change events are available for the object.