TransactionUsageEntitlement

Represents the details of each usage entitlement that's granted with the purchased sellable product, such as quantity and date when the entitlements were granted. This object is available in API version 63.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Special Access Rules

To create, update, and delete transaction usage entitlement records, you must have the Usage Management Run Time permission set license.

Fields

Field Details
AccountId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The account that's associated with the usage entitlement.
This field is a relationship field.
Relationship Name
Account
Refers To
Account
ActionType
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
The type of action that resulted in the transaction usage entitlement.
Valid values are:
  • Amend
  • Cancellation
  • New
  • Ramp
  • Renewal
AssetId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The asset associated with the sellable product.
This field is a relationship field.
Relationship Name
Asset
Refers To
Asset
ChargeForOverage
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The action to be taken when the entitlements are used beyond their grant values.
Valid values are:
  • No—Don't charge for over consumption
  • Yes—Charge for over consumption
DrawdownOrder
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The order that's used to debit entitlement consumption from the usage entitlement bucket.
Valid values are:
  • ExpiringFirst
  • GrantedFirst
  • GrantedLast
EffectiveEndDateTime
Type
dateTime
Properties
Create, Filter, Nillable, Sort, Update
Description
The date and time when the active transaction usage entitlement ends.
EffectiveStartDateTime
Type
dateTime
Properties
Create, Filter, Sort, Update
Description
The date and time when the transaction usage entitlement becomes active.
EntitlementQuantity
Type
double
Properties
Create, Filter, Sort, Update
Description
The entitlement quantity for the usage resource.
EntitlementUomClassId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The unit of measure class for the usage entitlement.
This field is a relationship field.
Relationship Name
EntitlementUomClass
Refers To
UnitOfMeasureClass
EntitlementUomId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The unit of measure to calculate the usage entitlement.
This field is a relationship field.
Relationship Name
EntitlementUom
Refers To
UnitOfMeasure
ExternalOrderItem
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The custom or external order item that's associated with the entitlement.
GrantBindingTargetId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The target associated with the entitlements that are granted with the sellable product.
This field is a relationship field.
Relationship Name
GrantBindingTarget
Refers To
Account, Asset, BindingObjectCustomExt, Contract
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date when this record was last referenced.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed a record related to this record.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Autogenerated identifier for the transaction usage entitlement record.
NetQuantity
Type
double
Properties
Create, Filter, Sort, Update
Description
The total quantity that combines the amended quantity with the initial transaction quantity in the order item.
OrderItemId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The order item that's associated with the entitlement.
This field is a polymorphic relationship field.
Relationship Name
OrderItem
Refers To
OrderItem, WorkOrderLineItem
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The ID of the owner of the transaction usage entitlement.
This field is a polymorphic relationship field.
Relationship Name
Owner
Refers To
Group, User
PricebookEntryId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The price book entry that's associated with the sellable product.
This field is a relationship field.
Relationship Name
PricebookEntry
Refers To
PricebookEntry
ProductId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The sellable product for which the entitlement is granted.
This field is a relationship field.
Relationship Name
Product
Refers To
Product2
RatingFrequencyPolicyId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The sellable product for which the entitlement is granted. Available in API version 64.0 and later.
This field is a relationship field.
Relationship Name
RatingFrequencyPolicy
Refers To
RatingFrequencyPolicy
TransactionQuantity
Type
double
Properties
Create, Filter, Sort, Update
Description
The transaction quantity in the order for the usage entitlement.
UsageAggregationPolicyId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The usage aggregation policy for this entitlement.
This field is a relationship field.
Relationship Name
UsageAggregationPolicy
Refers To
UsageResourceBillingPolicy
UsageGrantRefreshPolicyId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The usage grant refresh policy that's associated with the transaction usage entitlement.
This field is a relationship field.
Relationship Name
UsageGrantRefreshPolicy
Refers To
UsageGrantRenewalPolicy
UsageGrantRolloverPolicyId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The usage grant rollover policy that's associated with the transaction usage entitlement.
This field is a relationship field.
Relationship Name
UsageGrantRolloverPolicy
Refers To
UsageGrantRolloverPolicy
UsageModelType
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
The type of usage model for a product or service. Anchor is the main subscription product or service. Pack is the add-on product or service that grants additional usage resources for consumption. Commit is the product or service with a specific committed quantity of consumption.
Valid values are:
  • Anchor
  • Commit
  • Pack
Available in API version 64.0 and later.
UsageResourceId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The usage resource record that's associated with the transaction usage entitlement.
This field is a relationship field.
Relationship Name
UsageResource
Refers To
UsageResource
ValidityPeriodTerm
Type
int
Properties
Create, Filter, Group, Sort, Update
Description
The duration for which the usage resource grant is valid, when used with the validity period units.
ValidityPeriodUnit
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
The length of a validity period for the usage resource grant, when used with the validity period term.
Valid values are:
  • Month
  • None
  • Year

Associated Objects

This object has these 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.

TransactionUsageEntitlementHistory
History is available for tracked fields of the object.
TransactionUsageEntitlementOwnerSharingRule
Sharing rules are available for the object.
TransactionUsageEntitlementShare
Sharing is available for the object.