FuelTypeSustnUom

Represents a mapping between the custom fuel types and their corresponding unit of measure (UOM) values defined by a customer in an org.

Parent Type 

This type extends Metadata and inherits its fields.

File Suffix and Directory Location 

FuelTypeSustnUom components have the suffix .fuelTypeSustnUom and are stored in the fuelTypeSustnUoms folder.

Version 

Introduced in API version 57.0.

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 

fuelType 

  • Type: string (enumeration of type string)

  • Required: Yes

  • Description: Field Type: string

    Description:

    Required.

    The name of the fuel type that’s mapped to the unit of measure.

  • Possible values:

    • AutogasLPG
    • Biodiesel
    • Biomass
    • CityGas
    • CompressedNaturalGasCNG
    • Cooling
    • Diesel
    • Electricity
    • Ethanol
    • FuelOil
    • Gasoline
    • Heat
    • HeavyOil
    • ITElectricity
    • JetFuel
    • Kerosene
    • LightOil
    • LiquidNaturalGasLNG
    • MobileDiesel
    • NaturalGas
    • Propane
    • Refrigerant
    • Steam

isProtected 

  • Type: boolean

  • Required: No

  • Description: Field Type: boolean

    Description: An auto-generated value that doesn’t impact the behavior of the metadata type.

    The default value is false.

masterLabel 

  • Type: string

  • Required: No

  • Description: Field Type: string

    Description: A user-friendly name for FuelTypeSustnUom, which is defined when the FuelTypeSustnUom is created.

unitOfMeasure 

  • Type: string (enumeration of type string)

  • Required: Yes

  • Description: Field Type: string

    Description:

    Required.

    The unit of measure that’s mapped to the fuel type.

  • Possible values:

    • 1000m3
    • GJ
    • GWh
    • Kiloliters
    • Liters
    • MJ
    • MMBtu
    • MWh
    • Therms
    • Tonnes
    • UkGallons
    • UsGallons
    • ccf
    • kG
    • kWh
    • kcal
    • lbs
    • longTons
    • m3
    • shortTons

Declarative Metadata Sample Definition 

The following is an example of a FuelTypeSustnUom component.

1<?xml version="1.0" encoding="UTF-8"?>
2<FuelTypeSustnUom xmlns="http://soap.sforce.com/2006/04/metadata">
3    <fuelType>FuelOil</fuelType>
4    <isProtected>false</isProtected>
5    <masterLabel>FuelOil_Liters</masterLabel>
6    <unitOfMeasure>Liters</unitOfMeasure>
7</FuelTypeSustnUom>

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>FuelOil_Liters</members>
6        <members>Gas_1000m3</members>
7        <members>Heat_kWh</members>
8        <name>FuelTypeSustnUom</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.