UnitOfMeasureClass

Represents a standard unit of measure dimension. 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()

Fields 

BaseUnitOfMeasureId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The base unit of measure that’s used to calculate and display quantities.

This field is a relationship field.

  • Relationship Name: BaseUnitOfMeasure
  • Refers To: UnitOfMeasure

Code 

  • Type: string
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The unique user-defined string for the unit of measure class.

DefaultUnitOfMeasureId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The default unit of measure that’s used to calculate and display quantities. This measure can be different from the base unit of measure and overridden by individual resources.

This field is a relationship field.

  • Relationship Name: DefaultUnitOfMeasure
  • Refers To: UnitOfMeasure

Description 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The description of the unit of measure class.

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 class record.

Status 

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The status of the unit of measure class.

Valid values are Active, Draft, or Inactive.

Type 

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The type of the unit of measure class.

Valid values are Currency, Token, or Usage.

The default value is Usage. Available in API version 64.0 and later.

This is a required field.

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.

UnitOfMeasureClassHistory: History is available for tracked fields of the object.