Newer Version Available

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

PartyExpense

Represents the expense incurred by an individual or account. This object is available in API version 58.0 and later.

Supported Calls

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

Fields

Field Details
Description
Type
textarea
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The description of the expense.
EndDateTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The end date and time of the expense.
IsSelfPaid
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the expense is paid by the party (true) or not (false).
The default value is false.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed a record related to this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of the expense.
PartyId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The party associated with the expense.
This field is a relationship field.
Relationship Name
Party
Relationship Type
Lookup
Refers To
Account
PayeeId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The party that receives of the payment towards the expense.
This field is a polymorphic relationship field.
Relationship Name
Payee
Relationship Type
Lookup
Refers To
Account, Contact
PayerId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The party that is obligated to pay for the expense.
This field is a polymorphic relationship field.
Relationship Name
Payer
Relationship Type
Lookup
Refers To
Account, Contact
RecurrenceInterval
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the interval after which the expense is incurred.
Possible values are:
  • Bi-Weekly
  • Monthly
  • One Time
  • Weekly
  • Yearly
StartDateTime
Type
dateTime
Properties
Create, Filter, Sort, Update
Description
The start date and time of the expense.
Status
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the status of the expense.
Possible values are:
  • Active
  • Inactive
TotalAmount
Type
currency
Properties
Create, Filter, Sort, Update
Description
The total expense amount.
Type
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Specifies the type of expense.
Possible values are:
  • Rent

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.

PartyExpenseFeed
Feed tracking is available for the object.
PartyExpenseHistory
History is available for tracked fields of the object.