TransactionJournal

Represents consumption details of a usage resource that are recorded for creating usage summaries. This object is available for usage management in API version 63.0 and later.

Supported Calls 

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

Special Access Rules 

You must have the Usage Management Run Time permission set license.

Fields 

AccountId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The account associated with the consumption.

This field is a relationship field.

  • Relationship Name: Account
  • Refers To: Account

ActivityDate 

  • Type: dateTime
  • Properties: Create, Filter, Sort, Update
  • Description: Required. The date of the transaction.

CurrencyIsoCode 

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The three-letter ISO 4217 currency code of the monetary currency in which the transaction took place.

Possible values are:

  • AED—UAE Dirham
  • EUR—Euro
  • GBP—British Pound
  • INR—Indian Rupee
  • JPY—Japanese Yen
  • USD—U.S. Dollar

The default value is USD.

EndDate 

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The end date associated with the transaction.

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.

Name 

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The autogenerated number of the transaction journal.

Quantity 

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The number of units consumed.

QuantityUnitOfMeasureId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The unit of measure for the associated usage resource.

This field is a relationship field.

  • Relationship Name: QuantityUnitOfMeasure
  • Refers To: UnitOfMeasure

ReferenceRecordId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The asset associated with the transaction journal.

This field is a polymorphic relationship field.

  • Relationship Name: ReferenceRecord
  • Refers To: Asset

StartDate 

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The start date associated with the transaction.

Status 

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
  • Description: Required. The status of the transaction.

Possible values are:

  • Cancelled
  • Error
  • Pending
  • Processed

UniqueIdentifier 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The unique identifier of the transaction journal.

UsageResourceId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The usage resource that’s associated with the transaction journal.

This field is a relationship field.

  • Relationship Name: UsageResource
  • Refers To: UsageResource

UsageSummaryId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The usage summary that’s associated with the transaction journal. Available in API version 64.0 and later.

This field is a relationship field.

  • Relationship Name: UsageSummary
  • Refers To: UsageSummary

UsageType 

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort
  • Description: The type of usage.

Valid value is UsageManagement.