on 08-09-2010 11:08 AM
Hi,
we have the next requirement in CRM 7.0 WebUI:
In view BP_ADDR/StandardAddress the field STRUCT.TELEPHONETEL should only be an input field if the authorization group of the business partner has a certain value. So I tried to solve this in the I-getter method for this STRUCT.TELEPHONETEL field by reading the authorization group and change the rv_disabled value.
How should I read the authorization group? This is field STRUCT.AUTHORIZATIONGROUP and belongs to the HEADER node.
Can you please supply me an example code for this?
Thanks in advance!!
Kind regards,
Roy Willems
Hi,
In the get_i method use the below code to get BuilHeader entity.
Data: lv_entity type ref to cl_crm_bol_entity.
lv_entity ?= collection_wrapper->current( ).
lv_entity ?= lv_entity->get_parent( ).
if lv_entity is not bound.
lv_authgrp = lv_entity->get_property_as_string( iv_attr_name = 'AUTHORIZATIONGROUP' ).
endif.
Regards,
Arun
Edited by: Arun Kumar on Aug 9, 2010 12:58 PM
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.