Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

It does not update jobtitle on create record

$
0
0

if (context.InputParameters.Contains("Target") && context.InputParameters["Target"] is Entity)
{
Entity entity = (Entity)context.InputParameters["Target"];
if (entity.LogicalName == "new_customcase")
{
if (context.Depth > 1)
{
return;
}
else
{
Entity cont = new Entity("new_customcase");

cont.Attributes["new_jobtitle"] = "IT CONSULTANT";

service.Create(cont);

}
}
}


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>