Object Reference for the Salesforce Platform
Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Pricebook2History
Supported Calls
describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
You can also enable delete() in API version 42.0 and later. See Enable delete of Field History and Field History Archive.
Special Access Rules
This object is always read-only.
Fields
| Field | Details |
|---|---|
| Pricebook2Id |
|
| DataType |
|
| Field |
|
| IsDeleted |
|
| NewValue |
|
| OldValue |
|
Usage
Price book history entries are indirectly created each time a price book is modified.
Two rows are added to this record when foreign key fields change. One row contains the foreign key object names that display in the online application. For example, Jane Doe is recorded as the name of a Contact. The other row contains the actual foreign key ID that is only returned to and visible from the API.
This object respects field level security on the parent object.