on 10-20-2014 10:07 AM
Hello Experts,
I have a requirement like,to add two fields in the result list table of Lead and opportunity search pages.
is it Possible to add it through AET? If yes, may I know which part of BO object we should take?
can any body explain me,which case we will go for AET and which case we use workbench?
Thanks and Regards,
Kiran
HI,
If you dont have the field in Lead or Opportunity and you user needs to maintain those from WEBUI then you can add it in AET and create it with search and result relavent.
If you dont want user to maintain it and in result you have to add it, then you can go for Workbench.
Regards,
Deepika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepika,
Thanks for your reply.
Those two fields should be only in result list table.Not in search criteria of Lead and Opportunity search pages.
Here I have one doubt, if i select BTCUSTOMRH,then how this two fields will available in "Result List" context node to write setter & getter methods ...
This is the reason I would like to know,which case we should use AET and Which case we should use workbench
Regards,
Kiran
Hi Kiran,
If I understand your question properly, You want 2 fields only in result list just for display purpose.
So this can achieved by using value attributes. Right click on result context node attributes ( For lead BT108S_LEA/Result - RESULT ) and add value attribute.
Data type depends on your requirement. You can create a new data element or you can use existing data element whichever is suitable for your requirement.
To populate values for these attributes, you have to write your logic in getter method of value attribute and assign the value to VALUE ( which is returning parameter of getter method ).
Regards,
Pallavi
Hi Kiran,
We use AET when you want that data to be available in all its related database tables and field will be appended automatically in related structures/BAPI structures etc. In this case user can enter data and save in database. You can do many things with AET. Adding custom fields using Application Enhancement Tool (AET)
In your case you need two fields only for display purpose so we go for value attributes.
Consider below example :
You have the field in UI called Birth Date ( AET field or standard available field ). Now you want to calculate Age of a person. You don't need to create AET field for Age. Create a Value attribute for Age and write your logic in its getter method to calculate age based on current date and birth date
( Current date - birth date ).
Regards,
Pallavi
User | Count |
---|---|
8 | |
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.