Symptom
You are getting an error "Cannot Update Attribute XXX" in the assignment block of a determination (XXX represents the attribute/field).
Environment
SAP Sales Cloud and SAP Service Cloud Version 2
Reproducing the Issue
The scenario is valid for any entity. Here we will consider opportunity entity for example.
- Go to Settings
- Go to Extensibility Administration
- Go to Opportunity Service
- Navigate to Determinations
- Create new Determination using Forms
- Under Assignment Block, assign {XXX} = ( YY ); (Where XXX is the attribute name and YY is the value to be assigned)
- You get error "Cannot Update Attribute XXX"
Cause
You have set the field XXX as non updatable under Field Attributes and hence you are unable to update its value using Determination.
Resolution
Field has to be Updatable in order to use it in Assignment Block of Determinations. In our example, you can follow the below steps:
- Go Opportunity Service
- Go to Field Attributes tab
- Search for the Field XXX
- Select the Updatable toggle
- Save
Keywords
Determination , Error , Extension Field , Standard Field , Custom Field , Attribute , Cannot Update Attribute , Assignment , Updatable , KBA , CEC-CRM-CZM-EXT , Extensibility for SAP Sales/Service Cloud , CEC-CRM-CZM-DTR , Determination for SAP Sales/Service Cloud , How To
SAP Knowledge Base Article - Public