cancel
Showing results for 
Search instead for 
Did you mean: 

issue with EmployeeId and Account ID while creating PARTY in Opportunity BO ABSL

dhruv_mehta
Active Contributor
0 Kudos

Dear All,

We have some logic from which we determine the party and add the same in Opportunity with below code in before save

if (Supplier.IsSet()) 
{														    SalesTeamTmpl.Clear();														SalesTeamTmpl.PartyKey.PartyID.content	= Supplier.InternalID;														SalesTeamTmpl.RoleCode	= "ZSUPP";														this.Party.Create(SalesTeamTmpl);												}

Now the issue is We have an Employee who has ID 638 and an Account which also has ID 638.

I checked that Employee's Business partner number is also 638 ( checked from Identification node of Employee BO)

However , How can I make sure that by passing 638 i would add an Account and not an employee?

Regards

Dhruvin

Accepted Solutions (0)

Answers (2)

Answers (2)

dhruv_mehta
Active Contributor
0 Kudos

Hi Anant,

No need to check we fixed by our selves by creating a new account and merging the old one with this one.

BR

Dhruvin

dhruv_mehta
Active Contributor
0 Kudos

anant.acharya : Do you have any idea on this? I have raised it to incident but it would be great if you can help me out on this!

anant_acharya
Advisor
Advisor

Dear Dhruvin,

Just ping me the incident number in private chat. We will check with concerned colleagues and will revert.