Represents a Pricing Key Attribute: defines a single field/attribute (from Account, Order, Product, or a custom source) that can be used as a matching key within a Pricing Key Type, which in turn drives price lookup during pricing search. This object is available in API version 68.0 and later.
Supported Calls
describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
Special Access Rules
Available only in orgs with the Manufacturing Cloud, Automotive Cloud, or Consumer Goods Cloud Penny Perfect Pricing feature enabled.
Fields
ContextSection
Type: picklist
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description: The business context this key attribute's source field belongs to. Possible values are Account, Custom, Order, and Product.
CurrencyIsoCode
Type: picklist
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description: The ISO code for the currency of this record. Possible values are: AED (UAE Dirham), USD (U.S. Dollar), and every other active currency ISO code configured for the org. The default value is USD.
Description
Type: string
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: A free-text description of the purpose of this Pricing Key Attribute.
FieldAlias
Type: string
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: An alias name for the underlying field referenced by this key attribute, used when the field's technical name differs from its display/lookup alias in pricing search logic.
InternalOrganizationUnitId
Type: reference
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The InternalOrganizationUnit (business unit/org unit) that this Pricing Key Attribute is scoped to. This field is a relationship field.
Relationship Name: InternalOrganizationUnit
Refers To: InternalOrganizationUnit
LastReferencedDate
Type: dateTime
Properties: Filter, Nillable, Sort
Description: The timestamp when this record was last referenced (viewed indirectly, for example via a lookup) by a user.
LastViewedDate
Type: dateTime
Properties: Filter, Nillable, Sort
Description: The timestamp when this record was last directly viewed by a user.
Name
Type: string
Properties: Create, Filter, Group, idLookup, Sort, Update
Description: The name of this Pricing Key Attribute.
OwnerId
Type: reference
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: The User or Group that owns this record. This field is a polymorphic relationship field.
Relationship Name: Owner
Refers To: Group, User
ReferenceObject
Type: string
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The API name of the object that this key attribute's underlying field belongs to (for example, Account, Order, Product2).
Associated Objects
This object has the following associated objects. If the API version isn't specified, they're available in the same API versions as this object. Otherwise, they're available in the specified API version and later.
- TrdeMobPrcKeyAttributeChangeEvent: Change events are available for the object.
- TrdeMobPrcKeyAttributeFeed: Feed tracking is available for the object.
- TrdeMobPrcKeyAttributeHistory: History is available for tracked fields of the object.
- TrdeMobPrcKeyAttributeOwnerSharingRule: Sharing rules are available for the object.
- TrdeMobPrcKeyAttributeShare: Sharing is available for the object.