on 10-17-2014 12:54 AM
I hope some one can help me to achieve the following requirement:
I have a custom field "Development group" which is a picklist that contain list of all developers in company.
I have another field which is an input field called "Developer" (partner function Developer is assigned to it).
When a person's name get selected in a drop-down "Development Group" list,
I need to copy that name to the field "Developer".
Can I do it in CRM UI ?
Thank you
Elena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Excellent !
I've got the answer.
Thank you guys for replying this fast.
Elena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Elena,
You can create a dummy server event on the picklist field. Again if the second field is in the same context node then you can set the value of that field once the system finds that the ropdown value has changed .
This you can do after the comparison if <nval> ne <oval> in the setter method of the picklist field.
Hope this helps.
Regards,
Saurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Elena,
Here first you have to capture the drop down selected value and then that you need to populate input field.
i will give you step by step procedure how to capture and how to pass the value into input field.
development group there is an event handler in that capture the selected value and then set that value into input field using set property.
devgrop_event.
DATA : lr_col TYPE REF TO if_bol_bo_col,
lr_entity TYPE REF TO if_bol_bo_property_access.
lv_value type string.
lr_entity ?= me->typed_context->CN->collection_wrapper->get_current( ).
CHECK lr_entity is BOUND.
lr_entity->get_property_as_string( EXPORTING iv_attr_name = 'DEVGRPFIELDNAME' RECEIVING rv_result = lv_value ).
lr_entity->set_property_as_string( lv_attr_name = 'inputfieldname' lv_value = lv_value ).
Thanks & Regards,
Srinivas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Elena,
Yes, u need to write code for achieve this requirement .
GET_P of Development group
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
rv_value = 'DEVP_GRP_SELECTED'.
ENDCASE.
1. Create event handler 'DEVP_GRP_SELECTED' in .impl class .
2. write code in it to capture name.
3. pass that value in "Developer" field.
Hope it help.
Regards
Alok
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.