Stores the details of the units of measure (logistic unit) of a
product. This object is available in API version 54.0 and later.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Fields
Name
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: Unique identification of the record.
OwnerId
- Type: reference
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
-
Description: ID of the record owner.
This is a polymorphic relationship field.
- Relationship Name: Owner
- Relationship Type: Lookup
- Refers To: Group, User
cgcloud__Check_isConsumer_Unique__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Used internally for validation.
cgcloud__Check_isOrder_Unique__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Used internally for validation.
cgcloud__Check_isPrice_Unique__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Used internally for validation.
cgcloud__GTIN__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Global trade item number.
cgcloud__Is_Consumer_Unit__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the item is a consumer unit.
- Default value: false
cgcloud__Is_Order_Unit__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the item is a default order unit.
- Default value: false
cgcloud__Is_Price_Unit__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the item is a price unit.
- Default value: false
cgcloud__Order_Ability__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Indicates whether the unit of measure can be ordered.
- Default value: false
cgcloud__Pieces_per_Smallest_Unit__c
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Number of pieces of the smallest unit that this unit contains.
cgcloud__Pieces_per_parent_unit__c
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Number of pieces of this unit of measure that the parent unit of measure contains.
cgcloud__Product__c
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Reference to product.
This is a relationship field.
- Relationship Name: cgcloud__Product__r
- Relationship Type: Lookup
- Refers To: Product2
cgcloud__Record_Link__c
- Type: string
- Properties: Filter, Nillable, Sort
-
Description: Link to the unit of measure record.
This is a calculated field.
-
Formula:
HYPERLINK("/" &Id, /*IMAGE("/img/func_icons/util/lookup20.gif", "View")*/"View", "_top")
cgcloud__Rounding_Rule__c
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
- Description: Defines the rounding rule to be applied for the target unit of measure.
- Default value: Never
-
Possible values:
- Down
- Nearest
- Never
- Up
- UserExit
cgcloud__Rounding_Target__c
- Type: boolean
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Controls whether the unit of measure is to be considered for rounding quantities.
- Default value: false
cgcloud__Sort_Validation__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Used internally for validation.
cgcloud__Sort__c
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Sequence of unit of measures of a product (from the smallest unit to the largest unit).
cgcloud__Unit_Type_Validation__c
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Used internally for validation.
cgcloud__Unit_Type__c
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
- Description: Type of the unit of measure.
- Default value: SalesUnit
-
Possible values:
- ConsumerUnit
- Layer
- Pallet
- SalesUnit
cgcloud__Volume__c
- Type: double
- Properties: Create, Defaulted on create, Filter, Nillable, Sort, Update
- Description: Item volume used for complex pricing.
cgcloud__Weight__c
- Type: double
- Properties: Create, Defaulted on create, Filter, Nillable, Sort, Update
- Description: Item weight used for complex pricing.
Associated Objects
Associated Objects
This object has these associated objects. If the API version isn’t specified, they are available in the same API versions as this object. Otherwise, they are available in the specified API version and later.
- cgcloud__Unit_of_Measure__cChangeEvent: Change events are available for the object.
- cgcloud__Unit_of_Measure__cFeed: Feed tracking is available for the object.
- cgcloud__Unit_of_Measure__cHistory: History is available for the tracked fields of the object.
- cgcloud__Unit_of_Measure__cOwnerSharingRule: Sharing rules are available for the object.
- cgcloud__Unit_of_Measure__cShare: Sharing is available for the object.