| Warranty Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CorrigoService.Entities
 Syntax
Syntax[SerializableAttribute] public class Warranty : CorrigoEntityWithOptimisticLock
The Warranty type exposes the following members.
 Properties
Properties| Name | Description | |
|---|---|---|
|  | AdditionalInfo | 
            Additional coverage details, terms and conditions. Max. length is 6144 characters; zero length values are allowed.
             | 
|  | Asset | 
            Asset to which Warranty is linked.
            This field is required for warranties; otherwise NULL.
             | 
|  | AutoCoverage | 
            A bitmask defining asset categories automatically covered by Warranty Template; used by templates; otherwise irrelevant. Bit number X matches asset category X; i.e. 0x01 matches asset category #1 (AssetType.Regular).
             | 
|  | Comment | 
            Additional comments provided by users. Used by warranties; otherwise irrelevant.
             | 
|  | ContactAddresses | 
             Warranty support only one Contact Address type: ContactAddrType.Contact. There is no standard validation for it; all values are accepted
             | 
|  | DisplayAs | |
|  | EndDate | 
            End of the coverage interval; date without time. Required by warranties; for templates always NULL.
             | 
|  | IsManufacturer | 
            Boolean flag. Used only by templates. True means this is a template for manufacturer warranty (there is 0 or 1 such template for each Organization).
             | 
|  | IsTemplate | 
            True indicates template; False indicates warranty. 
             | 
|  | LaborCoverageLength | 
            Interval length for Labor/Services coverage. Used by both warranties and templates. Supported values are 0 – 999.
             | 
|  | LaborCoverageTypeId | 
            Interval type for Labor/Services coverage. Warranty status matching enumeration SchedInterval;
            and dictionary [vlangTermType].
            Used by both warranties and templates. Supported values are SchedInterval.Day and SchedInterval.Year.
             | 
|  | Organization | 
            Organization.
            This field is required for Template; otherwise irrelevant.
             | 
|  | OtherCoveragerLength | 
            Interval length for Other coverage.
            Used by both warranties and templates.
            Supported values are 0 – 999.
             | 
|  | OtherCoverageTypeId | 
            Interval type for Other coverage. 
            Warranty status matching enumeration SchedInterval; 
            and dictionary [vlangSchedIntervalLookup]. 
            Used by both warranties and templates. 
            Supported values are SchedInterval.Day and SchedInterval.Year.
             | 
|  | PartsCoverageLength | 
            Interval length for Parts/Materials coverage. Used by both warranties and templates. Supported values are 0 – 999.
             | 
|  | PartsCoverageTypeId | 
            Interval type for Parts/Materials coverage. Warranty status matching enumeration SchedInterval;
            and dictionary [vlangTermType].
            Used by both warranties and templates. Supported values are SchedInterval.Day and SchedInterval.Year.
             | 
|  | PrimaryContact | 
            Name of the primary contact person (used by both warranties and templates).
             | 
|  | StartDate | 
            Start of the coverage interval; date without time. Required by warranties; for templates always NULL.
             | 
|  | StatusId | 
            Warranty status matching enumeration WarrantyStatus;
            and dictionary [vlangWarrantyStatus].
            Used by warranties only; for templates always WarrantyStatus.None.
             | 
|  | TemplateId | 
            Template from which Warranty was created.
            Used by warranties only; for templates always NULL. Note: This link might be broken if template is deleted. This field is mostly used to distinguish ad-hoc warranties from template-based ones.
             | 
|  | TimeZone | Time Zone (typically derived from work order or asset) used to compute Warranty status. Used by warranties; otherwise irrelevant.
             | 
|  | WarrantorId | 
            Standard link to actor representing the Warrantor. 
             | 
|  | WarrantorTypeId | 
            Standard link to actor representing the Warrantor. Supported values for WarrantorTypeID are ActorType.CorrigoNet and ActorType.Provider.
             | 
|  | WorkOrder | 
            Work Order from which Warranty was created.
            Used by warranties only; for templates always NULL.
             | 
|  | WorkZone | 
            Auto-computed field containing parent work zone ID of Warranty’s asset.
            Used by warranties only; for templates always NULL.
             | 
 See Also
See Also