OpportunityFieldHistory

Represents the history of changes to the values in the fields of an opportunity.

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

  • Type: picklist
  • Properties: Filter, Group, Nillable, Restricted picklist, Sort
  • Description: Data type of the field that was changed.
  • Possible values:
    • Address — Address
    • AnyType — AnyType
    • AutoNumber — AutoNumber
    • Base64 — Base64
    • BitVector — BitVector
    • Boolean — Boolean
    • Content — Content
    • Currency — Currency
    • DataCategoryGroupReference — DataCategoryGroupReference
    • DateOnly — DateOnly
    • DateTime — DateTime
    • Division — Division
    • Double — Double
    • DynamicEnum — DynamicEnum
    • Email — Email
    • EncryptedBase64 — EncryptedBase64
    • EncryptedText — EncryptedText
    • EntityId — EntityId
    • EnumOrId — EnumOrId
    • ExternalId — ExternalId
    • Fax — Fax
    • File — File
    • HtmlMultiLineText — HtmlMultiLineText
    • HtmlStringPlusClob — HtmlStringPlusClob
    • InetAddress — InetAddress
    • Json — Json
    • Location — Location
    • MultiEnum — MultiEnum
    • MultiLineText — MultiLineText
    • Namespace — Namespace
    • Percent — Percent
    • PersonName — PersonName
    • Phone — Phone
    • Raw — Raw
    • RecordType — RecordType
    • SfdcEncryptedText — SfdcEncryptedText
    • SimpleNamespace — SimpleNamespace
    • StringPlusClob — StringPlusClob
    • Switchable_PersonName — Switchable_PersonName
    • Text — Text
    • TimeOnly — TimeOnly
    • Url — Url
    • YearQuarter — YearQuarter
  • Type: picklist
  • Properties: Filter, Group, Restricted picklist, Sort
  • Description: The name of the field that was changed.
  • Type: boolean
  • Properties: Defaulted on create, Filter
  • Description: Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is Deleted.
  • Type: reference

  • Properties: Filter, Group, Sort

  • Description:

    ID of the Opportunity. Label is Opportunity ID.

    This is a relationship field.

  • Relationship name: Opportunity

  • Relationship type: relationship

  • Refers to: Opportunity

  • Type: anyType
  • Properties: Nillable, Sort
  • Description: The new value of the field that was changed.
  • Type: anyType
  • Properties: Nillable, Sort
  • Description: The latest value of the field before it was changed.

Use this object to identify changes to any fields on an Opportunity. The OpportunityHistory object represents the history of a change to the Amount, Probability, Stage, or Close Date fields of an Opportunity.

This object respects field level security on the parent object.