cancel
Showing results for 
Search instead for 
Did you mean: 

How to get employee details from activity

perage
Participant
0 Kudos

Hi,

I'm struggling with the use of the different functions in ABSL. I have a .xbo on activity and need to get the details of the responsible employee.

So far I got:

var Roles = this.ActivityParty;

var Emp = Roles.Where(Activity.Party.PartyTypeCode == "39"); 

as 39 is the responsible employee type code. But, this code is not working. Can someone help put and maybe give a crash course on how to use the different functions and associations? I can't seem to find any code examples in CAS like in e.g SE38.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member275924
Active Participant
0 Kudos

Hi ,

I think the logic something wrong .

var Emp = Roles.Where(Activity.Party.PartyTypeCode == "39");

If you want to use [.Where] , you should write .Where(n=>n.XXXX == "XX" ) .

And PartyTypeCode == "39" is E-Mail . I don't understand why do you collect the party that use the type code is E-Mail .

Could you please describe the screen shot and detail information that you want to get responsible employee ?

Regards,

Charm,