SalesforceSharp icon indicating copy to clipboard operation
SalesforceSharp copied to clipboard

sObject type 'WorkOrder' is not supported.

Open gyh0111 opened this issue 5 years ago • 3 comments
trafficstars

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,

gyh0111 avatar Dec 12 '19 04:12 gyh0111

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.

jose-dvm avatar Dec 09 '20 19:12 jose-dvm

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

Brains avatar Oct 19 '21 11:10 Brains

Checked that WorkOrder object from https://github.com/giacomelli/SalesforceSharp/issues/36#issue-536757216 is available as well.

The issue can be closed?

Brains avatar Oct 19 '21 11:10 Brains