You need to sign in to do that
Don't have an account?
NinjaMagician
Can a SOQL query gather WorkOrder and WorkOrderLineItems?
From preliminary tests, it doesn't seem possible to query the new work order objects. These don't list in the Standard and Custom Objects breakdown within Workbench. If I try a simple query such as SELECT Id FROM WorkOrder, it gives an error stating that sObject type is not supported.
Is there any way to use SOQL to gather work order information?
Is there any way to use SOQL to gather work order information?
I think I was able to get to the bottom of the issue. The new Work Order object that is available in Spring '16 can only be queried using api version 36 or greater. When using Workbench, the highest version available is 35, which is why the objects don't show.
[1] https://developer.salesforce.com/blogs/developer-relations/2015/02/using-metadata-api-describe-objects.html