cancel
Showing results for 
Search instead for 
Did you mean: 

ByDesign Account: Get Current Employee Responsible - Sales

former_member262937
Participant
0 Kudos

In ByDesign I am trying to retrieve the Employee with responsibility: Sales for an Account.

However, when I retrieve Customer.CurrentEmployeeResponsible the value is blank.

On the UI: I open the Account and navigate to "Contacts" and then "Responsibilities". Here the employee is shown with Party Role = Employee Responsible - Sales

However, I cannot find the node which is equivalent to "responsibilities" in the backend. There is no list of parties like in C4C.

How can I retrieve the Employee Responsible from the Account?

Accepted Solutions (1)

Accepted Solutions (1)

cianbarrett
Active Participant

Hi Katie,

You should be able to retrieve it this way. As there are many different responsibilities, you will need to provide the PartyRoleCode as well,142 is for Employee Responsible - Sales.

- Cian

former_member262937
Participant
0 Kudos

Hi Cian,

Customer.CurrentEmployeeResponsible is empty. For all customers I've tested with. Despite this I can see the values on the UI.

Should I raise a ticket with standard?

Katie

cianbarrett
Active Participant
0 Kudos

I don't think there's anything wrong with the standard. I've been able to reproduce it with the below code:

I'm not sure from where you are trying to retrieve the data but CurrentEmployeeResponsible returns a Collection of the Employees in the Account Team. This is under the tab Contacts > Responsibilities. Hope this clarifies the issue!

- Cian

Answers (0)