Click or drag to resize
Warranty Class
Warranty represents two different logical objects at the center of Warranties functionality: 1. Warranty Template(identified by IsTemplate == True) linked to Organizations.Warranty Templates are used to create warranties automatically when WO completion occurs. 2. Warranty (identified by IsTemplate == False) linked to Assets and sometimes to Providers. This is true “instance” of a warranty, which may be created from the template, or manually.
Inheritance Hierarchy
SystemObject
  CorrigoService.EntitiesCorrigoEntity
    CorrigoServiceCorrigoEntityWithOptimisticLock
      CorrigoService.EntitiesWarranty

Namespace: CorrigoService.Entities
Assembly: ClientXMLDoc (in ClientXMLDoc.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public class Warranty : CorrigoEntityWithOptimisticLock

The Warranty type exposes the following members.

Properties
  NameDescription
Public propertyAdditionalInfo
Additional coverage details, terms and conditions. Max. length is 6144 characters; zero length values are allowed.
Public propertyAsset
Asset to which Warranty is linked. This field is required for warranties; otherwise NULL.
Public propertyAutoCoverage
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).
Public propertyComment
Additional comments provided by users. Used by warranties; otherwise irrelevant.
Public propertyContactAddresses
Warranty support only one Contact Address type: ContactAddrType.Contact. There is no standard validation for it; all values are accepted
Public propertyDisplayAs
Public propertyEndDate
End of the coverage interval; date without time. Required by warranties; for templates always NULL.
Public propertyIsManufacturer
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).
Public propertyIsTemplate
True indicates template; False indicates warranty.
Public propertyLaborCoverageLength
Interval length for Labor/Services coverage. Used by both warranties and templates. Supported values are 0 – 999.
Public propertyLaborCoverageTypeId
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.
Public propertyOrganization
Organization. This field is required for Template; otherwise irrelevant.
Public propertyOtherCoveragerLength
Interval length for Other coverage. Used by both warranties and templates. Supported values are 0 – 999.
Public propertyOtherCoverageTypeId
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.
Public propertyPartsCoverageLength
Interval length for Parts/Materials coverage. Used by both warranties and templates. Supported values are 0 – 999.
Public propertyPartsCoverageTypeId
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.
Public propertyPrimaryContact
Name of the primary contact person (used by both warranties and templates).
Public propertyStartDate
Start of the coverage interval; date without time. Required by warranties; for templates always NULL.
Public propertyStatusId
Warranty status matching enumeration WarrantyStatus; and dictionary [vlangWarrantyStatus]. Used by warranties only; for templates always WarrantyStatus.None.
Public propertyTemplateId
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.
Public propertyTimeZone
Time Zone (typically derived from work order or asset) used to compute Warranty status. Used by warranties; otherwise irrelevant.
Public propertyWarrantorId
Standard link to actor representing the Warrantor.
Public propertyWarrantorTypeId
Standard link to actor representing the Warrantor. Supported values for WarrantorTypeID are ActorType.CorrigoNet and ActorType.Provider.
Public propertyWorkOrder
Work Order from which Warranty was created. Used by warranties only; for templates always NULL.
Public propertyWorkZone
Auto-computed field containing parent work zone ID of Warranty’s asset. Used by warranties only; for templates always NULL.
Top
See Also