TimeSheetValidationError

Represents validation errors in time sheets, time sheet entries, and time sheet entry items based on the rules defined by the admin. This object is available in API version 62.0 and later.

Supported Calls 

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

Fields 

Category 

  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

  • Description: Specifies the category of the time sheet validation error.

  • Possible values:

    • Data Validation
    • Meal Time Validation

Description 

  • Type: string
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The description of the time sheet validation error.

IsResolved 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the time sheet validation error is resolved (true) or not (false).
  • Default value: false

Name 

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The ID of the time sheet validation error.

ReferenceRecordId 

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The time sheet or time sheet entry record associated with the validation error. This field is a polymorphic relationship field.
  • Relationship Name: ReferenceRecord
  • Refers To: TimeSheet, TimeSheetEntry

ReferenceRecordObjectName 

  • Type: string
  • Properties: Filter, Group, Nillable, Sort
  • Description: The name of the object that’s associated with the validation error.

ServiceResourceCostRuleId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The service resource cost rule associated with the time sheet validation error. This field is a relationship field.
  • Relationship Name: ServiceResourceCostRule
  • Refers To: ServiceResourceCostRule