How do I resolve the MKL-315105 error, which I get while trying to add team members?
You might get the error, "You can't add a resource to the deal registration sales team because the resource is outside of your partner organization. (MKL-315105)" if the approvers belong to internal sales rather than the partner organization.
You can resolve this error by setting the
AllowInternalResource
attribute to true
in your before-update trigger. For
example:newRecord.setAttribute("AllowInternalResource",true);