Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 154803

Forum Post: RE: Validation and capturing user

$
0
0
hi, ok at first go to customization and add new entity called "userLog" (name as you want) the purpose of this to save the user transaction with the date, it must have to fields 1. lookup to users 2. date field. then go the vs .net after install crm sdk and create a post update message on the contact entity to capture the change on the check box and you have to check the value of the check box if changed, you can save a record in the other entity (user log). for update plugin see this: mscrmshop.blogspot.com/.../plugin-to-update-children-records-when.html ********** and to save record in other entity in any plugin message use this code: for example let us we will create task //create a task Entity obj= new Entity("your entity name"); obj["subject"] = "Account number is missing"; obj["lookup field"] = new EntityReference("your refrence entity", new Guid(context.OutputParameters["id"].ToString())); // Create the obj in Microsoft Dynamics CRM. service.Create(obj);

Viewing all articles
Browse latest Browse all 154803

Trending Articles



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