You need to sign in to do that
Don't have an account?
pooja biswas
account share object
Hi
Please help me clear the following concept.
a) Trying to understand what is account share and opportunity share sobjects.
How they related to account and opportuntity
In what business case scenario do we use them
what is RowCause field? How does it affect Master-detail relationship?
b) How to resolve " Field is not writeable: " error in apex?
Thanks
Pooja
Please help me clear the following concept.
a) Trying to understand what is account share and opportunity share sobjects.
How they related to account and opportuntity
In what business case scenario do we use them
what is RowCause field? How does it affect Master-detail relationship?
b) How to resolve " Field is not writeable: " error in apex?
Thanks
Pooja
This field specifies the reason that this sharing entry exists. You can only write to this field when its value is either omitted or set to Manual (default). You can create a value for this field in API versions 32.0 and later with the correct organization-wide sharing settings.
Valid values include:
Manual—The User or Group has access because a User with “All” access manually shared the Account with the user or group.
All Answers
Account Share and Opportunity Share are basically objects that a developer can use in Apex to share the records with users based on certain conditions. It's solely used for sharing and stores data related to which record is shared with whom and what access level had been provided to them. You can read more about Apex managed sharing in the below link nand that will help you understand this concept better.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.htm
Kindly mark it as an answer if that resolves youe query !
if w have to share record based on certain conditions with other users then we can use criteria based sharing rules then why need for account share sobject?
also I can use create a report for account object, then export the data into excel then why need of account share object?
Thanks
Pooja
Apex managed usually comes into picture when you have a very complex sharing model which CANNOT be handled by criteria based sharing or ownership based sharing.
cud u pls tell me what significance of rowcause field and why it is always non editable?
also what values the rowcause field can have?
This field specifies the reason that this sharing entry exists. You can only write to this field when its value is either omitted or set to Manual (default). You can create a value for this field in API versions 32.0 and later with the correct organization-wide sharing settings.
Valid values include:
Manual—The User or Group has access because a User with “All” access manually shared the Account with the user or group.