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