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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CostBookId | CostBook ID | reference | 18 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
CurrencyIsoCode | Currency ISO Code | picklist | 3 | |||
Description | Description | string | 255 | |||
GlobalKey | Global Key | string | 80 | |||
Id | Price Book ID | id | 18 | |||
IsActive | Active | boolean | ||||
IsArchived | Archived | boolean | ||||
IsDeleted | Deleted | boolean | ||||
IsStandard | Is Standard Price Book | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
LastReferencedDate | Last Referenced Date | datetime | ||||
LastViewedDate | Last Viewed Date | datetime | ||||
Name | Price Book Name | string | 255 | |||
SystemModstamp | System Modstamp | datetime | ||||
ValidFrom | Valid From | datetime | ||||
ValidTo | Valid To | datetime |
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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Price Book History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
Pricebook2Id | Price Book ID | reference | 18 |