FuelTypeSustnUom
Parent Type
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:
|
| 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:
|
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.