Expense

Represents an expense linked to a work order. Service resource technicians can log expenses, such as tools or travel costs. This object is available in API version 49.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see Expense in the Agentforce Life Sciences Developer Guide, Event Management Guide, Field Service Developer Guide, and Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccountIdAccount IDreference 18  
AmountAmountcurrency  182
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DescriptionDescriptiontextarea 32000  
DiscountDiscountpercent  52
ExpenseEndDateEnd Datedate    
ExpenseNumberExpense Namestring 255  
ExpenseStartDateStart Datedate    
ExpenseTypeExpense Typepicklist 40  
IdExpense IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
OwnerIdOwner IDreference 18  
QuantityQuantitydouble  122
SubtotalSubtotalcurrency  182
SystemModstampSystem Modstampdatetime    
TitleTitlestring 255  
TotalPriceTotal Pricecurrency  182
TransactionDateTransaction Datedate    
UnitPriceUnit Pricecurrency  182
WorkOrderIdWork Order IDreference 18  

Feed tracking for Expense.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameFeed in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
BestCommentIdBest Comment IDreference 18  
BodyBodytextarea 10000  
CommentCountComment Countint9   
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
IdFeed Item IDid 18  
InsertedByIdInsertedBy IDreference 18  
IsDeletedDeletedboolean    
IsRichTextIs Rich Textboolean    
LastModifiedDateLast Modified Datedatetime    
LikeCountLike Countint9   
LinkUrlLink URLurl 1000  
ParentIdParent IDreference 18  
RelatedRecordIdRelated Record IDreference 18  
SystemModstampSystem Modstampdatetime    
TitleTitlestring 255  
TypeFeed Item Typepicklist 40  

History for tracked fields of Expense.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
ExpenseIdExpense IDreference 18  
FieldChanged Fieldpicklist 255  
IdExpense History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  

Sharing for Expense.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18