fiogf49gjkf0d Your problem is that Lookup is bount by Entity and Not ID, you have to set the entity object
You need somthing like this.
You could just remove .Id so you are left with
lueLeadSource.LookupResultValue = opp.Account.LeadSource;
Or i would do somthing like below.
if(opp.Account != null&& opp.Account.LeadSource != null)
{
Sage.Entity.Interfaces.ILeadSource leadSource = Sage.Platform.EntityFactory.GetById<Sage.Entity.Interfaces.ILeadSource>(opp.Account.LeadSource.Id);
opp.LeadSource = leadSource;
}
Sage.Entity.Interfaces.IOpportunity opp = this.BindingSource.Current as Sage.Entity.Interfaces.IOpportunity |