cancel
Showing results for 
Search instead for 
Did you mean: 

As to Partner on Web UI

Former Member
0 Kudos

Hi Expert,  

I would like to use one field 'Consulting Employee' under Parties Involved assignment block displayed in Appointment Details assignment block. And the value in these two fields shall be the same, which is the same as partner function 'Employee Responsible', please see the below. Do I need to create a new context node in UI Component as BTPARTNEROWNER below which is used for 'Employee Responsible' and how to build connection between one bol entity and one partner function? Is it possible to implement it in the coding?

'Employee Responsible' is set to (Person Responsible-0008) in customizing, which is only one allowed in Parties Involved.

'Consulting Employee' is set to (employee-0005) in customizing.

Kind Regards

Andie

Accepted Solutions (1)

Accepted Solutions (1)

dharmakasi
Active Contributor
0 Kudos

Hi Andie,

You have to create new context node for your new partner function and set the partner fct value to consulting employee partner function value, so that when ever you are setting partner value to consulting employee field system will store under correct partner function.

You can follow the same procedure as done for employee responsible. Only thing the partner function will different for your employee consulting field.

Best Regards,

Dharmakasi.

Former Member
0 Kudos

Hi Dharmakasi,

Where to set the partner fct value to consulting employee partner function value when creating context node? Can I create a context node for BTPARTNERSET?

Kind Regards

Andie

dharmakasi
Active Contributor
0 Kudos

Hi Andie,

Create context node for BTPartner only and then set the partner function value in set method of the partner number field. You have to code in set method of partner number field.

Best Regards,

Dharmakasi.

Former Member
0 Kudos

Hi Dharmakasi,

I use the existing context node BTPARTNERSET and add a new attribute, and find related partner function, it works well now, thanks.

Kind Regards

Andie

dharmakasi
Active Contributor
0 Kudos

Hi Andie,

Great, I understood it in different way. I thought you are trying to set the value in appointment details assignment.

Answers (1)

Answers (1)

deepika_chandrasekar
Active Contributor
0 Kudos

Hi,

You have to create new field in Context node of BTADMINH for this and then you can put code in GET and SET method to retrive the field value from taking the BTPartner relationship entity.

In GET method take BTpartner relation and find the value for the partner_fct and display

In SET method you have to do the same when value is provided in the field you have to take BTPartner relation from BTAdminh relation and check for your partner_fct entity from BTPartner collection using, if entity is created for your partner_fct you can set the value for PARTNER_NO otherwise you have to create the entity using create_related_entity and then set the value.

In both details and BTPartner AB same values will be taken .

Regards,

Deepika.