Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
SustnUomConversion
Parent Type
File Suffix and Directory Location
SustnUomConversion components have the suffix sustnUomConversion and are stored in the sustnUomConversions folder.
Version
SustnUomConversion components are available in API version 57.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 |
|---|---|
| conversionFactor |
|
| fuelType |
|
| isProtected |
|
| masterLabel |
|
| sourceUom |
|
| targetUom |
|
| uomsKey |
|
Declarative Metadata Sample Definition
The following is an example of a SustnUomConversion component.
1<?xml version="1.0" encoding="UTF-8"?>
2<SustnUomConversion xmlns="http://soap.sforce.com/2006/04/metadata">
3 <conversionFactor>0.9</conversionFactor>
4 <fuelType>Diesel</fuelType>
5 <isProtected>false</isProtected>
6 <masterLabel>KG_Liters</masterLabel>
7 <sourceUom>KG</sourceUom>
8 <targetUom>Liters</targetUom>
9 <uomsKey>uomsKey</uomsKey>
10</SustnUomConversion>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <fullName>Pkg</fullName>
4 <types>
5 <members>US_UK_Gallons</members>
6 <members>Therms_kWh</members>
7 <members>KG_Liters</members>
8 <name>SustnUomConversion</name>
9 </types>
10 <version>57.0</version>
11</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.