---
schema_version: "1"
id: 5044684b21bb087acff96d5cfad0468f207ceba9a8ca4c5a53df8f5a75618a90
title: UnitofMeasure
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/industries/advanced-orders-for-telesales/references/standard-objects/unit-of-measure.md
canonical_url: https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/advanced-orders-for-telesales-objects/unit-of-measure.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f8030a44a4d4dd42e1ec97b42592df272ace79f63d8c2d0053740cf73ab2f86f
products:
  - Advanced Orders for Telesales Developer Guide
  - Industries Developer Documentation
---
# UnitofMeasure

Standard object representing a unit of measure — such as each, case, pallet, kilogram, or liter — used to quantify products, along with its conversion factor, scale, and rounding behavior relative to a base unit. This object is available in API version 68.0 and later.

## Supported Calls

`create()`, `delete()`, `describeLayout()`, `describeSObjects()`, `getDeleted()`, `getUpdated()`, `query()`, `retrieve()`, `search()`, `undelete()`, `update()`, `upsert()`

## Special Access Rules

No additional setup or permissions beyond standard object- and field-level security are required.

## Fields

### ConversionFactor

**Type:** double

**Properties:** Create, Filter, Nillable, Sort, Update

**Description:** The multiplier used to convert a quantity in this unit of measure to the base unit of measure.

### CurrencyIsoCode

**Type:** picklist

**Properties:** Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

**Description:** The ISO code for the currency of the 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 text description of the unit of measure.

### LastReferencedDate

**Type:** dateTime

**Properties:** Filter, Nillable, Sort

**Description:** The timestamp when this record was last referenced (viewed or otherwise touched in a list, related list, and so on).

### LastViewedDate

**Type:** dateTime

**Properties:** Filter, Nillable, Sort

**Description:** The timestamp when this record was last viewed by a user.

### Name

**Type:** string

**Properties:** Create, Filter, Group, idLookup, Sort, Update

**Description:** The name of the unit of measure.

### 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

### RoundingMethod

**Type:** picklist

**Properties:** Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

**Description:** The rounding method applied when converting quantities involving this unit of measure. Possible values are Down, Nearest, and Up.

### Scale

**Type:** int

**Properties:** Create, Filter, Group, Nillable, Sort, Update

**Description:** The number of decimal places supported for quantities expressed in this unit of measure.

### Type

**Type:** picklist

**Properties:** Create, Filter, Group, Sort, Update

**Description:** Type of measurement — for example, period, weight, or distance.

### UnitCode

**Type:** string

**Properties:** Create, Filter, Group, Sort, Update

**Description:** Code for the unit of measure.

## 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.

- [UnitofMeasureChangeEvent](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/change-event.md): Change events are available for the object.
- [UnitofMeasureFeed](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/feed.md): Feed tracking is available for the object.
- [UnitofMeasureHistory](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/history.md): History is available for tracked fields of the object.
- [UnitofMeasureOwnerSharingRule](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/owner-sharing-rule.md): Sharing rules are available for the object.
- [UnitofMeasureShare](https://developer.salesforce.com/docs/industries/advanced-orders-for-telesales/references/associated-objects/share.md): Sharing is available for the object.
