UnitOfMeasure

Defines the units and systems of units used to account for quantities of a usage resource. This object is available for usage management in API version 62.0 and later.

Examples of units of measure include Liter (for volume), Kilogram (for weight), and single units (such as Can, sachet, and packet).

Supported Calls

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

Fields

Field Details
ConversionFactor
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The factor or rate that's used to convert this unit of measurement to the base unit.
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
Create, Filter, Group, idLookup, Sort, Update
Description
Autogenerated identifier for the unit of measure record.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The ID of the owner of the unit of measure record.
This field is a polymorphic relationship field.
Relationship Name
Owner
Refers To
Group, User
Sequence
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The sequence number assigned to the unit of measure.
Status
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The status of the unit of measure.
Valid values are:
  • Active
  • Draft
  • Inactive
Type
Type
picklist
Properties
Create, Filter, Group, Sort, Update
Description
The type of the unit of measure. For example, weight, distance, period.
UnitCode
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The code for the unit of measure.
UnitOfMeasureClassId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The unit of measure class associated with the unit of measure.
This field is a relationship field.
Relationship Name
UnitOfMeasureClass
Refers To
UnitOfMeasureClass

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.

UnitOfMeasureChangeEvent
Change events are available for the object.
UnitOfMeasureShare
Sharing is available for the object.