mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
102 lines
4.1 KiB
JSON
102 lines
4.1 KiB
JSON
|
|
{
|
||
|
|
"sections": [
|
||
|
|
"title",
|
||
|
|
"description",
|
||
|
|
"fields",
|
||
|
|
"special_access_rules",
|
||
|
|
"wsdl_segment",
|
||
|
|
"field_reference"
|
||
|
|
],
|
||
|
|
"title": "WorkOrderLineItemHistory - Data API",
|
||
|
|
"description": "Represents the history of changes made to tracked fields on a work order line item. This object is available in API version 36.0 and later.",
|
||
|
|
"fields_columns": [
|
||
|
|
"type",
|
||
|
|
"properties",
|
||
|
|
"description",
|
||
|
|
"relationship_name",
|
||
|
|
"relationship_type",
|
||
|
|
"refers_to"
|
||
|
|
],
|
||
|
|
"fields": {
|
||
|
|
"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": "The name of the field that was changed."
|
||
|
|
},
|
||
|
|
"NewValue": {
|
||
|
|
"type": "anyType",
|
||
|
|
"properties": "Nillable, Sort",
|
||
|
|
"description": "The new value of the field that was changed."
|
||
|
|
},
|
||
|
|
"OldValue": {
|
||
|
|
"type": "anyType",
|
||
|
|
"properties": "Nillable, Sort",
|
||
|
|
"description": "The value of the field before it was changed."
|
||
|
|
},
|
||
|
|
"WorkOrderLineItemId": {
|
||
|
|
"type": "reference",
|
||
|
|
"properties": "Filter, Group, Sort",
|
||
|
|
"description": "ID of the work order line item being tracked. The history is displayed on the detail page for this record. This is a relationship field.",
|
||
|
|
"relationship_name": "WorkOrderLineItem",
|
||
|
|
"relationship_type": "Lookup",
|
||
|
|
"refers_to": "WorkOrderLineItem"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"special_access_rules": "Work orders or Field Service must be enabled in your organization, and field tracking for work order line item fields must be configured.",
|
||
|
|
"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=\"WorkOrderLineItemHistory\">\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=\"WorkOrderLineItem\" nillable=\"true\" minOccurs=\"0\" type=\"ens:WorkOrderLineItem\"/>\n <element name=\"WorkOrderLineItemId\" 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": "Work Order Line Item 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"
|
||
|
|
},
|
||
|
|
"WorkOrderLineItemId": {
|
||
|
|
"field_label": "Work Order Line Item ID",
|
||
|
|
"type": "reference",
|
||
|
|
"length": "18"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"field_reference_columns": [
|
||
|
|
"field_label",
|
||
|
|
"type",
|
||
|
|
"length"
|
||
|
|
]
|
||
|
|
}
|