Newer Version Available
FuelType
Parent Type
File Suffix and Directory Location
FuelType components have the suffix .fuelType and are stored in the fuelTypes folder.
Version
FuelType 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 unit of measures (UOMs).
Fields
| Field Name | Description |
|---|---|
| description |
|
| isActive |
|
| isProtected |
|
| isStationaryAssetFuel |
|
| isVehicleAssetFuel |
|
| masterLabel |
|
Declarative Metadata Sample Definition
The following is an example of a FuelType component.
1<?xml version="1.0" encoding="UTF-8"?>
2<FuelType xmlns="http://soap.sforce.com/2006/04/metadata">
3 <description>This is Petrol Fuel Type</description>
4 <isProtected>true</isProtected>
5 <isActive>true</isActive>
6 <isStationaryAssetFuel>true</isStationaryAssetFuel>
7 <isVehicleAssetFuel>true</isVehicleAssetFuel>
8 <masterLabel>Petrol</masterLabel>
9</FuelType>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 <types>
4 <members>Petrol</members>
5 <members>Diesel</members>
6 <members>Kerosine</members>
7 <name>FuelType</name>
8 </types>
9 <version>57.0</version>
10</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.