Pricebook2

Represents a price book that contains the list of products that your org sells.

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

Field NameField LabelTypeDigitsLengthPrecisionScale
CostBookIdCostBook IDreference 18  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
CurrencyIsoCodeCurrency ISO Codepicklist 3  
DescriptionDescriptionstring 255  
GlobalKeyGlobal Keystring 80  
IdPrice Book IDid 18  
IsActiveActiveboolean    
IsArchivedArchivedboolean    
IsDeletedDeletedboolean    
IsStandardIs Standard Price Bookboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
NamePrice Book Namestring 255  
SystemModstampSystem Modstampdatetime    
ValidFromValid Fromdatetime    
ValidToValid Todatetime    

Represents historical information about changes that have been made to the standard fields of the associated Pricebook2, or to any custom fields with history tracking enabled. This object is available in API version and later.

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

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