Newer Version Available

This content describes an older version of this product. View Latest

ViolationType

Represents violations types for licenses and permits. This object is available in API version 49.0 and later.

Supported Calls

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

Fields

Field Details
Description
Type
string
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Description of violation.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The most recent date on which a user referenced this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The most recent date on which a user viewed this record.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
Name of the violation.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
ID of the owner of the record.
Severity
Type
picklist
Properties
Create, Filter, Group, Sort, Update
Description
Severity of the violation.
Possible values are:
  • Issue
  • Major Violation
  • Minor Violation
Type
Type
picklist
Properties
Create, Filter, Group, Sort, Update
Description
The violation type. This field is unique within your organization.
Possible values are:
  • Building
  • Electrical
  • Health and Safety

Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

ViolationTypeOwnerSharingRule
Sharing rules are available for the object.
ViolationTypeShare
Sharing is available for the object.
ViolationTypeFeed
Feed tracking is available for the object.
ViolationTypeHistory
History is available for the object.