on 01-28-2014 4:21 PM
Hello,
there is the possibility to check if a Party (business object Party) is related to a Service Agent?
I tried using the cross BO association "BusinessPartnerRelationship" in the "BusinessPartner" association:
Party.BusinessPartner.BusinessPartnerRelationship
but this association always returns an empty collection!
Also I tried querying directly the BusinessPartnerRelationship business Object but unsuccessfully.
There is another way?
There is a query in BusinessPartner BO which you can use for this.
BusinessPartner.QueryByRole which takes in two parameters as Input: InternalID and RoleCode.
InternalID is the BusinessPartnerInternalID
RoleCode's data type is BusinessPartnerRoleCode. Check in repository for probable values for this datatype and use it in this query. Service Agent is one of the role.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Alessandro,
I've just looked into my C4C tenant and queried the BO Identity for a Technical User and a Service Agent generated one.
The difference in the result was:
Maybe this works for you too if you can transfer somehow from Party to Identity.
This simple for the current user.
HTH,
Horst
User | Count |
---|---|
76 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.