locked
MS Dynamics 2011 - Calculating value fields RRS feed

  • Question

  • Hello,

    I have 4 number fields on 4 seperate entities which I need to add together for a total in a field on a 5th entity. The relationships have all been created, and I'm aware this cannot be done through the "Out of the box" product. Does anyone who of a plugin, or potentially provide any advice on how to go about putting a solution in place to meet this business requirement?

    Many Thanks


    Sam

    Thursday, August 22, 2013 11:05 AM

All replies

  • you can do through the plug-in 

    or 

    through odata you can pull the data  from the different entity and calculate the values in the form or you can use soap xml also... 


    ms crm

    Thursday, August 22, 2013 1:04 PM
  • Hi Sam,

    You should go with Synchronous Plugin. Through Plugin it will be easier.

    - You will have to register the Plugin On update of different attributes on all entities( 4 entities) those are involved in the calculation.

    - Retrieve the field values from 4 deferent entity, Perform calculation.

    - Update the Fifth entity with the calculated values.

    You can refer the MSDN to get understanding about plugin development.

    http://msdn.microsoft.com/en-us/library/gg695782.aspx

    Hope this helps!

    Thanks!

    • Proposed as answer by Kalim Khan Tuesday, August 27, 2013 10:45 AM
    Thursday, August 22, 2013 5:17 PM