forcedotcom / SFDX-Data-Move-Utility

SFDMU is a cutting-edge Salesforce data migration tool for seamless org population from other orgs or CSV files. It handles all CRUD operations on multiple related objects in one go.
BSD 3-Clause "New" or "Revised" License
444 stars 74 forks source link

[QUESTION] - CareSpecialty (Health Cloud) "no fields to update or insert" #546

Closed jonny-harte closed 1 year ago

jonny-harte commented 1 year ago

I'm trying to run the below query but keep getting a warning about no included fields to update or insert. I've tried using both "all" and declaring the fields separately.

Any special / different about the CareSpecialty object that I should be aware of?

"query": "SELECT all FROM CareSpecialty",
"operation": "Upsert",
"externalId": "Account__r.Name;Name"
"query": "SELECT IsActive, Description, EffectiveFrom, EffectiveTo, Name, OwnerId, SpecialtyCode, SpecialtyType, SpecialtyUsage FROM CareSpecialty",
"operation": "Upsert",
"externalId": "Account__r.Name;Name"

The SOQL query for sObject CareSpecialty does not include any field can be updated or inserted

hknokh commented 1 year ago

@jonny-harte Health Colud is not installed on my side and I can't reproduce your issue. But the issue of no fields found can occur when SFDMU get the field metadata of this object and detected that all its fields are readonly for the current user. I don't know why, this should be checked on your side. Check the field permissions etc.

github-actions[bot] commented 1 year ago

This case has been marked as 'to-be-closed', since it has no activity for the 3 days.
It will be automatically closed in another 3 days of inactivity.

jonny-harte commented 1 year ago

Thanks @hknokh fields were marked as editable i nthe profile but there was additional licences / permissions sets that needed to be added to the user.

hknokh commented 1 year ago

Closed as it's solved