Skip to Content

How to get employee details from activity

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 17 at 08:26 AM

    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,

    Add comment
    10|10000 characters needed characters exceeded