Newer Version Available
OrderHistory
Represents historical information about changes that have been made to the standard fields of the associated order, or to any custom fields with history tracking
enabled.
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.
Fields
| Field Name | Details |
|---|---|
| DataType |
|
| Field |
|
| NewValue |
|
| OldValue |
|
| OrderId |
|
Usage
Order history entries are automatically created each time an order 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.