on 05-23-2017 8:26 PM
Hello,
I'm trying to change the channel permission and communication type permission of a Customer, but when I try to assign the value to the field the SDK thow the message the field is read only.
A example of the code is:
import ABSL;
import AP.CRM.Global;
foreach(var dere in this.MarketingPermission.ChannelPermission)
{
if(dere.IsSet() && dere.CommunicationMediumTypeCode == "TEL")
{
dere.MarketingPermissionCode = "1";
}
}
foreach(var dere1 in this.MarketingPermission.CommunicationTypePermission)
{
dere1.SubscribedIndicator = true;
}
The error occurs in line:
dere.MarketingPermissionCode = "1";
and
dere1.SubscribedIndicator = true;
The documentation of the fields in the repository explorer says that the fields are write enabled:
How do you update these fields in the SDK?
Thanks,
Jose.
Hi,
If deployment unit of your solution and BO Extended ( in this case it is CUSTOMER ) should be always same. So Can you please make sure that Deployment Unit of your Solution and Deployment Unit of Customer BO is same?
For more info please refer following blog:
https://blogs.sap.com/2015/09/10/understanding-deployment-units/
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.