I am having one field "Sales person " in which data is coming from Navision.
Note: Sales Person in Navision is User in CRM
Now there is another lookup field "Sales Agent" looking on Users.
If "Sales Person" field contains a name lets say "Ram" then I want to set the lookup field "Sales Agent" to "Ram".
Needed on priority basis , please share the sample code as I am new to plugins.