mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
98 lines
4.8 KiB
JSON
98 lines
4.8 KiB
JSON
{
|
|
"sections": [
|
|
"title",
|
|
"description",
|
|
"fields",
|
|
"special_access_rules",
|
|
"usage",
|
|
"wsdl_segment",
|
|
"field_reference"
|
|
],
|
|
"title": "PartnerRole - Data API",
|
|
"description": "Represents a role for an account Partner, such as consultant, supplier, and so on.",
|
|
"fields_columns": [
|
|
"type",
|
|
"properties",
|
|
"description"
|
|
],
|
|
"fields": {
|
|
"ApiName": {
|
|
"type": "string",
|
|
"properties": "Filter, Group, idLookup, Sort",
|
|
"description": "Uniquely identifies a picklist value so it can be retrieved without using an id or master label."
|
|
},
|
|
"MasterLabel": {
|
|
"type": "string",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "Master label for this partner role value. This display value is the internal label that does not get translated. Limit: 255 characters."
|
|
},
|
|
"ReverseRole": {
|
|
"type": "picklist",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "Name of the reverse role that corresponds to this partner role. For example, if the role is “subcontractor,” then the reverse role might be “general contractor.” In the user interface, assigning a partner role to an account creates a reverse partner relationship so that both accounts list the other as a partner."
|
|
},
|
|
"SortOrder": {
|
|
"type": "int",
|
|
"properties": "Filter, Group, Nillable, Sort",
|
|
"description": "Number used to sort this value in the partner role picklist. These numbers are not guaranteed to be sequential, as some previous partner role values might have been deleted."
|
|
}
|
|
},
|
|
"special_access_rules": "Customer Portal users can't access this object.",
|
|
"usage": "This object represents a value in the partner role picklist. In the user interface, the partner role picklist provides additional information about the role of a Partner, such as their corresponding reverse role. Query this object to retrieve the set of values in the partner role picklist, and then use that information while processing PartnerRole records to determine more information about a given partner role. For example, the application could determine the reverse role of a given Partner Role value and the value of the ReverseRole property in the associated PartnerRole object.",
|
|
"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=\"PartnerRole\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"ApiName\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"CreatedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\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=\"LastModifiedBy\" nillable=\"true\" minOccurs=\"0\" type=\"ens:User\"/>\n <element name=\"LastModifiedById\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"LastModifiedDate\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n <element name=\"MasterLabel\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ReverseRole\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"SortOrder\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:int\"/>\n <element name=\"SystemModstamp\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:dateTime\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n```",
|
|
"field_reference": {
|
|
"ApiName": {
|
|
"field_label": "API Name",
|
|
"type": "string",
|
|
"length": "255"
|
|
},
|
|
"CreatedById": {
|
|
"field_label": "Created By ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"CreatedDate": {
|
|
"field_label": "Created Date",
|
|
"type": "datetime"
|
|
},
|
|
"Id": {
|
|
"field_label": "Partner Role Value ID",
|
|
"type": "id",
|
|
"length": "18"
|
|
},
|
|
"LastModifiedById": {
|
|
"field_label": "Last Modified By ID",
|
|
"type": "reference",
|
|
"length": "18"
|
|
},
|
|
"LastModifiedDate": {
|
|
"field_label": "Last Modified Date",
|
|
"type": "datetime"
|
|
},
|
|
"MasterLabel": {
|
|
"field_label": "Master Label",
|
|
"type": "string",
|
|
"length": "255"
|
|
},
|
|
"ReverseRole": {
|
|
"field_label": "Reverse Role",
|
|
"type": "picklist",
|
|
"length": "255"
|
|
},
|
|
"SortOrder": {
|
|
"field_label": "Sort Order",
|
|
"type": "int",
|
|
"digits": "9"
|
|
},
|
|
"SystemModstamp": {
|
|
"field_label": "System Modstamp",
|
|
"type": "datetime"
|
|
}
|
|
},
|
|
"field_reference_columns": [
|
|
"field_label",
|
|
"type",
|
|
"length",
|
|
"digits"
|
|
]
|
|
} |