Newer Version Available
Pricebook2History
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 41.0 and
later.
Supported Calls
describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
Special Access Rules
This object is always read-only.
Fields
| Field | Details |
|---|---|
| Pricebook2Id |
|
| 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.