Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sObject type 'WorkOrder' is not supported. #36

Open
gyh0111 opened this issue Dec 12, 2019 · 3 comments
Open

sObject type 'WorkOrder' is not supported. #36

gyh0111 opened this issue Dec 12, 2019 · 3 comments

Comments

@gyh0111
Copy link

gyh0111 commented Dec 12, 2019

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,

@jose-dvm
Copy link

jose-dvm commented Dec 9, 2020

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.

@Brains
Copy link

Brains commented Oct 19, 2021

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
Copy link

Brains commented Oct 19, 2021

Checked that WorkOrder object from #36 (comment) is available as well.

The issue can be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants