---
schema_version: "1"
id: c0ef0cd5190b8e9a1844ae89570bd0b503b3f32dd6c079c97eb0b06c268e11ae
title: AssetWarranty
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_assetwarranty.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_assetwarranty.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: c2635d7d6a326ef25f73de1f1fb598fdc2c4c1daa9595caa89bb968b492473f3
description: Defines the warranty terms applicable to an asset along with any exclusions and extensions. This object is available in Manufacturing Cloud in API version 55.0 and later.
---
# AssetWarranty

Defines the warranty terms applicable to an asset along with any exclusions and extensions. This object is available in Manufacturing Cloud in API version 55.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### AssetId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The ID of the asset this asset warranty applies to.
    
    This field is a relationship field.
- **Relationship Name**: Asset
- **Relationship Type**: Lookup
- **Refers To**: Asset

### AssetWarrantyNumber

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The identifier of the asset warranty record.

### EndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date on which this asset warranty expires.

### ExchangeType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The type of exchange offered by this asset warranty.
- **Possible values**:
    - Advance Exchange
    - Loaner
    - Return Exchange

### Exclusions

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: Description of any exclusions.

### ExpensesCovered

- **Type**: percent
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The percentage of expenses covered.

### ExpensesCoveredEndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date on which cover for expenses ends.

### IsTransferable

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Indicates whether the asset warranty can be transferred to a new owner (true) or not (false).
- **Default value**: false

### LaborCovered

- **Type**: percent
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The percentage of labor covered.

### LaborCoveredEndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date on which cover for labor ends.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The date when the asset warranty was last modified.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The date when the asset warranty was last viewed.

### PartsCovered

- **Type**: percent
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The percentage of parts covered.

### PartsCoveredEndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date on which cover for parts ends.

### Pricebook2Id

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The price book item associated with this asset warranty term.
    
    This field is a relationship field.
- **Relationship Name**: Pricebook2
- **Relationship Type**: Lookup
- **Refers To**: Pricebook2

### StartDate

- **Type**: date
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The date on which cover under this asset warranty starts.

### WarrantyTermId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID of the warranty term this asset warranty term extends.
    
    This field is a relationship field.
- **Relationship Name**: WarrantyTerm
- **Relationship Type**: Lookup
- **Refers To**: WarrantyTerm

### WarrantyType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The type of the asset warranty.
- **Possible values**:
    - Repair
    - Standard
    - Supplier