mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
109 lines
4.4 KiB
JSON
109 lines
4.4 KiB
JSON
{
|
|
"sections": [
|
|
"title",
|
|
"description",
|
|
"fields",
|
|
"special_access_rules",
|
|
"usage",
|
|
"wsdl_segment",
|
|
"field_reference"
|
|
],
|
|
"title": "Pricebook2History - Data API",
|
|
"description": "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 66.0 and later.",
|
|
"fields_columns": [
|
|
"type",
|
|
"properties",
|
|
"description",
|
|
"relationship_name",
|
|
"relationship_type",
|
|
"refers_to"
|
|
],
|
|
"fields": {
|
|
"Pricebook2Id": {
|
|
"type": "reference",
|
|
"properties": "Filter, Group, Sort",
|
|
"description": "ID of the Pricebook2 associated with this record. This is a relationship field.",
|
|
"relationship_name": "Pricebook2",
|
|
"relationship_type": "Lookup",
|
|
"refers_to": "Pricebook2"
|
|
},
|
|
"DataType": {
|
|
"type": "picklist",
|
|
"properties": "Filter, Group, Nillable, Restricted picklist, Sort",
|
|
"description": "Data type of the field that was changed."
|
|
},
|
|
"Field": {
|
|
"type": "picklist",
|
|
"properties": "Filter, Group, Restricted picklist, Sort",
|
|
"description": "Name of the price book field that was modified, or a special value to indicate some other modification to the price book."
|
|
},
|
|
"IsDeleted": {
|
|
"type": "boolean",
|
|
"properties": "Defaulted on create, Filter, Group, Sort",
|
|
"description": "Indicates whether the object has been moved to the Recycle Bin (true) or not (false). This is a standard system field. Label is Deleted."
|
|
},
|
|
"NewValue": {
|
|
"type": "anyType",
|
|
"properties": "Nillable, Sort",
|
|
"description": "New value of the modified price book field. Maximum of 255 characters."
|
|
},
|
|
"OldValue": {
|
|
"type": "anyType",
|
|
"properties": "Nillable, Sort",
|
|
"description": "Previous value of the modified price book field. Maximum of 255 characters."
|
|
}
|
|
},
|
|
"special_access_rules": "This object is always read-only.",
|
|
"usage": "Price book history entries are indirectly created each time a price book is modified.",
|
|
"wsdl_segment": "```xml\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n<complexType name=\"Pricebook2History\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\n <element name=\"CreatedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"CreatedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"DataType\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Field\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"IsDeleted\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <element name=\"NewValue\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:anyType\"/>\n <element name=\"OldValue\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:anyType\"/>\n <element name=\"Pricebook2\" nillable=\"true\" minOccurs=\"0\" type=\"ens:Pricebook2\"/>\n <element name=\"Pricebook2Id\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n```",
|
|
"field_reference": {
|
|
"CreatedById": {
|
|
"field_label": "Created By ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"CreatedDate": {
|
|
"field_label": "Created Date",
|
|
"type": "datetime"
|
|
},
|
|
"DataType": {
|
|
"field_label": "Datatype",
|
|
"type": "picklist",
|
|
"length": "40"
|
|
},
|
|
"Field": {
|
|
"field_label": "Changed Field",
|
|
"type": "picklist",
|
|
"length": "255"
|
|
},
|
|
"Id": {
|
|
"field_label": "Price Book History ID",
|
|
"type": "id",
|
|
"length": "18"
|
|
},
|
|
"IsDeleted": {
|
|
"field_label": "Deleted",
|
|
"type": "boolean"
|
|
},
|
|
"NewValue": {
|
|
"field_label": "New Value",
|
|
"type": "anyType",
|
|
"length": "255"
|
|
},
|
|
"OldValue": {
|
|
"field_label": "Old Value",
|
|
"type": "anyType",
|
|
"length": "255"
|
|
},
|
|
"Pricebook2Id": {
|
|
"field_label": "Price Book ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
}
|
|
},
|
|
"field_reference_columns": [
|
|
"field_label",
|
|
"type",
|
|
"length"
|
|
]
|
|
} |