SalesforceSharp
SalesforceSharp copied to clipboard
sObject type 'WorkOrder' is not supported.
Hi,
I met error. sObject type 'WorkOrder' is not supported. Please help me.
WorkOrder Represents field service work to be performed for a customer. This object is available in API version 36.0 and later.
Regards,
Hi,
SalesforceSharp works with API version 28.0 by default as you can see in the SalesforceClient class. Change the value for ApiVersion property to a newer version after calling the SalesforceClient's constructor and try again.
Hope it helps.
SalesforceSharp works with API version 28.0 by default as you can see in the SalesforceClient class. Change the value for ApiVersion property to a newer version after calling the SalesforceClient's constructor and try again.
Thanks, changing ApiVersion to "v38.0" has fixed
sObject type 'EntityDefinition' is not supported.
for this query:
SELECT QualifiedApiName
FROM EntityDefinition
ORDER BY QualifiedApiName
Checked that WorkOrder object from https://github.com/giacomelli/SalesforceSharp/issues/36#issue-536757216 is available as well.
The issue can be closed?