SustainabilityUom
Parent Type
File Suffix and Directory Location
SustainabilityUom components have the suffix .sustainabilityUom and are stored in the sustainabilityUoms folder.
Version
SustainabilityUom components are available in API version 56.0 and later.
Special Access Rules
The Net Zero Cloud permission set license is required to access this object along with the user access for carbon accounting and org access for custom fuels and UOMs.
Fields
Field Name | Description |
---|---|
description |
|
isProductUom |
|
isProtected |
|
isStationaryAssetUom |
|
isVehicleAssetUom |
|
masterLabel |
|
unitType |
|
Declarative Metadata Sample Definition
The following is an example of a SustainabilityUom component.
<?xml version="1.0" encoding="UTF-8"?>
<SustainabilityUom xmlns="http://soap.sforce.com/2006/04/metadata">
<description>Weight in Grams</description>
<isProductUom>true</isProductUom>
<isProtected>false</isProtected>
<isStationaryAssetUom>false</isStationaryAssetUom>
<isVehicleAssetUom>false</isVehicleAssetUom>
<masterLabel>Grams</masterLabel>
<unitType>Weight</unitType>
</SustainabilityUom>
The following is an example package.xml that references the previous definition.
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Pkg</fullName>
<types>
<members>Grams</members>
<name>SustainabilityUom</name>
</types>
<version>63.0</version>
</Package>
Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.