Newer Version Available

This content describes an older version of this product. View Latest

FuelTypeSustnUom

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

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Parent Type

This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

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

Version

FuelTypeSustnUom 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
fuelType
Field Type
string
Description

Required.

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

Possible values are:
  • AutogasLPG
  • Biodiesel
  • Biomass
  • CityGas
  • CompressedNaturalGasCNG
  • Cooling
  • Diesel
  • Electricity
  • Ethanol
  • FuelOil
  • Gasoline
  • Heat
  • HeavyOil
  • ITElectricity
  • JetFuel
  • Kerosene
  • LightOil
  • LiquidNaturalGasLNG
  • MobileDiesel
  • NaturalGas
  • Propane
  • Refrigerant
  • Steam
isProtected
Field Type
boolean
Description
An auto-generated value that doesn’t impact the behavior of the metadata type.
The default value is false.
masterLabel
Field Type
string
Description
A user-friendly name for FuelTypeSustnUom, which is defined when the FuelTypeSustnUom is created.
unitOfMeasure
Field Type
string
Description

Required.

The unit of measure that’s mapped to the fuel type.
Possible values are:
  • 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.