• Atlantic Technologies 9
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi,

we are facing a problem regarding the ServiceReportLanguage field on WorkOrder object.
We tried to update via Apex

Workorder w = new Workorder(ServiceReportLanguage = 'FR');
insert w;

The system raised this error:

{ "column": "15", "compileProblem": "Field does not exist: ServiceReportLanguage on WorkOrder", "compiled": "false", "exceptionMessage": "", "exceptionStackTrace": "", "line": "1", "success": "false" }

We also tried to query using a Workbench:

select id, ServiceReportLanguage from workorder limit 1

but we faced this error:

INVALID_FIELD: 
select id, ServiceReportLanguage from workorder

ERROR at Row:1:Column:12
No such column 'ServiceReportLanguage' on entity 'WorkOrder'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

T&R,
Giuseppe.