WorkReportError

Represents errors in the Work Report through the Work Report Line Item object. This object is available in API version 59.0 and later.

Supported Calls 

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

Special Access Rules 

The following fields are available only with the Contractor Work Report Access and User Work Report Access permission sets.

Fields 

Code 

  • Type: picklist

  • Properties: Create, Filter, Group, Sort, Update

  • Description: Code that represents the error.

  • Possible values:

    • Account Missing
    • Invalid Product
    • Invalid Program

Description 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The instructions and information about the error that can be used to diagnose and fix the error.

IsOverridden 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the work report error can be overridden for work report submission.
  • Default value: false

OverrideReason 

  • Type: textarea
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The reason why the work report error was overridden.

WorkReportLineItemId 

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The Work Report Line Item object associated with the Work Report Error..
  • Relationship Name: WorkReportLineItem
  • Relationship Type: Lookup
  • Refers To: WorkReportLineItem