---
schema_version: "1"
id: c6cca363a697729741e0b03617df1fe1b9eb2f25f69ebd7e656c44cad05f27c2
title: SustnUomConversion
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_sustnuomconversion.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_sustnuomconversion.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fb3c3e3137bc8e5796455383514ceb142bbf152d0a031d9823226cc9162fce16
description: Represents information about the unit of measure (UOM) conversion for the custom fuel types defined by a customer in an org.
---
# SustnUomConversion

Represents information about the unit of measure (UOM) conversion for the custom fuel types defined by a customer in an org.

## Parent Type

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/metadata.htm) metadata type and inherits its fullName field.

## 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

<table class="featureTable sort_table" summary="">


          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d883628e101">Field Name</th>

              <th class="featureTableHeader  " id="d883628e104">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">

            <tr>
              <td class="entry" headers="d883628e101" data-title="Field Name"><span class="keyword parmname">conversionFactor</span></td>

              <td class="entry" headers="d883628e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: double</p>

                <p class="p"><strong class="ph b">Description</strong>:</p>

                <p class="p">Required.</p>

                <p class="p">The conversion factor that's used to convert values
                  from one unit of measure to another for the fuel
                  type.</p>

              </td>


            </tr>

            <tr>
              <td class="entry" headers="d883628e101" data-title="Field Name"><span class="keyword parmname">fuelType</span></td>

              <td class="entry" headers="d883628e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: string</p>

                <p class="p"><strong class="ph b">Description</strong>:</p>

                <p class="p">The name of the fuel type.</p>

                <div class="p">Possible values are:<ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">AutogasLPG</samp></li>

                    <li class="li"><samp class="codeph nolang">Biodiesel</samp></li>

                    <li class="li"><samp class="codeph nolang">Biomass</samp></li>

                    <li class="li"><samp class="codeph nolang">CityGas</samp></li>

                    <li class="li"><samp class="codeph nolang">CompressedNaturalGasCNG</samp></li>

                    <li class="li"><samp class="codeph nolang">Cooling</samp></li>

                    <li class="li"><samp class="codeph nolang">Diesel</samp></li>

                    <li class="li"><samp class="codeph nolang">Electricity</samp></li>

                    <li class="li"><samp class="codeph nolang">Ethanol</samp></li>

                    <li class="li"><samp class="codeph nolang">FuelOil</samp></li>

                    <li class="li"><samp class="codeph nolang">Gasoline</samp></li>

                    <li class="li"><samp class="codeph nolang">Heat</samp></li>

                    <li class="li"><samp class="codeph nolang">HeavyOil</samp></li>

                    <li class="li"><samp class="codeph nolang">ITElectricity</samp></li>

                    <li class="li"><samp class="codeph nolang">JetFuel</samp></li>

                    <li class="li"><samp class="codeph nolang">Kerosene</samp></li>

                    <li class="li"><samp class="codeph nolang">LightOil</samp></li>

                    <li class="li"><samp class="codeph nolang">LiquidNaturalGasLNG</samp></li>

                    <li class="li"><samp class="codeph nolang">MobileDiesel</samp></li>

                    <li class="li"><samp class="codeph nolang">NaturalGas</samp></li>

                    <li class="li"><samp class="codeph nolang">Propane</samp></li>

                    <li class="li"><samp class="codeph nolang">Refrigerant</samp></li>

                    <li class="li"><samp class="codeph nolang">Steam</samp></li>

                  </ul>
                </div>

              </td>


            </tr>

            <tr>
              <td class="entry" headers="d883628e101" data-title="Field Name"><span class="keyword parmname">isProtected</span></td>

              <td class="entry" headers="d883628e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: boolean</p>

                <p class="p"><strong class="ph b">Description</strong>: An auto-generated value that doesn’t impact the behavior
                  of the metadata type.</p>

                <p class="p">The default value is <samp class="codeph nolang">false</samp>.</p>

              </td>


            </tr>

            <tr>
              <td class="entry" headers="d883628e101" data-title="Field Name"><span class="keyword parmname">masterLabel</span></td>

              <td class="entry" headers="d883628e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: string</p>

                <p class="p"><strong class="ph b">Description</strong>: A user-friendly name for SustnUomConversion, which is defined when the
                  SustnUomConversion is created.</p>

              </td>


            </tr>

            <tr>
              <td class="entry" headers="d883628e101" data-title="Field Name"><span class="keyword parmname">sourceUom</span></td>

              <td class="entry" headers="d883628e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: string</p>

                <p class="p"><strong class="ph b">Description</strong>:</p>

                <p class="p">Required.</p>

                <p class="p">The source unit of measure for the fuel type.</p>

                <div class="p">Possible values are:<ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">1000m3</samp></li>

                    <li class="li"><samp class="codeph nolang">GJ</samp></li>

                    <li class="li"><samp class="codeph nolang">GWh</samp></li>

                    <li class="li"><samp class="codeph nolang">Kiloliters</samp></li>

                    <li class="li"><samp class="codeph nolang">Liters</samp></li>

                    <li class="li"><samp class="codeph nolang">MJ</samp></li>

                    <li class="li"><samp class="codeph nolang">MMBtu</samp></li>

                    <li class="li"><samp class="codeph nolang">MWh</samp></li>

                    <li class="li"><samp class="codeph nolang">Therms</samp></li>

                    <li class="li"><samp class="codeph nolang">Tonnes</samp></li>

                    <li class="li"><samp class="codeph nolang">UkGallons</samp></li>

                    <li class="li"><samp class="codeph nolang">UsGallons</samp></li>

                    <li class="li"><samp class="codeph nolang">ccf</samp></li>

                    <li class="li"><samp class="codeph nolang">kG</samp></li>

                    <li class="li"><samp class="codeph nolang">kWh</samp></li>

                    <li class="li"><samp class="codeph nolang">kcal</samp></li>

                    <li class="li"><samp class="codeph nolang">lbs</samp></li>

                    <li class="li"><samp class="codeph nolang">longTons</samp></li>

                    <li class="li"><samp class="codeph nolang">m3</samp></li>

                    <li class="li"><samp class="codeph nolang">shortTons</samp></li>

                  </ul>
                </div>

              </td>


            </tr>

            <tr>
              <td class="entry" headers="d883628e101" data-title="Field Name"><span class="keyword parmname">targetUom</span></td>

              <td class="entry" headers="d883628e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: string</p>

                <p class="p"><strong class="ph b">Description</strong>:</p>

                <p class="p">Required.</p>

                <p class="p">The target unit of measure for the fuel type.</p>

              </td>


            </tr>

            <tr>
              <td class="entry" headers="d883628e101" data-title="Field Name"><span class="keyword parmname">uomsKey</span></td>

              <td class="entry" headers="d883628e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: string</p>

                <p class="p"><strong class="ph b">Description</strong>: The key associated with a unit of measure for the fuel type.</p>

              </td>


            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of a SustnUomConversion component.

<?xml version="1.0" encoding="UTF-8"?>
<SustnUomConversion xmlns="http://soap.sforce.com/2006/04/metadata">
    <conversionFactor\>0.9</conversionFactor\>
    <fuelType\>Diesel</fuelType\>
    <isProtected\>false</isProtected\>
    <masterLabel\>KG\_Liters</masterLabel\>
    <sourceUom\>KG</sourceUom\>
    <targetUom\>Liters</targetUom\>
    <uomsKey\>uomsKey</uomsKey\>
</SustnUomConversion\>

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\>US\_UK\_Gallons</members\>
        <members\>Therms\_kWh</members\>
        <members\>KG\_Liters</members\>
        <name\>SustnUomConversion</name\>
    </types\>
    <version\>57.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](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm "HTML (New Window)").