on 10-11-2007 6:17 PM
Hi all,
I am working on inbox search view. I need to change standard description for letter. I am fetching my required description for every record and when I am trying to set description against my letter using set_property method value is not getting stored.
While debugging I came across following attributes and their values:
1. Changeable = .
2. Its read only attribute having value RRRRRRRRRRRRRR .
3. My manager entry has an attribute lock which is equal to space.
So while debugging I changed the above attributes as follows:
1. Changeable = X .
2. The read only attribute to value CCCCCCC.
3. My manager entry attribute lock equal to X.
With these changes I was able to set my value.
Is there any programmatic way of setting these values?
I tried using core->modify ( ), but of no use.
Has anyone faced such problem before?
Is there any other way of setting values in case of Inbox?
Please help me in this regard.
Useful answers will be rewarded.
Regards,
Vikas
I got solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes, you have to get the lock on the BOL entity before you can set its value. You can either call the methods
switch_to_change_mode( ) or lock( )
for the
cl_crm_bol_entity
entity reference variable?
Hope this helps! Reward if helpful!
Thanks,
Sudipta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.