Dynamics CRM 2015 New Feature (4): Calculate Field & amp; Rollup Field, dynamicscalculate

Source: Internet
Author: User

Dynamics CRM 2015 New Feature (4): Calculate Field & Rollup Field, dynamicscalculate

Calculate Field & Rollup Field can be said to be two powerful Feature. With the continuous update of Dynamics CRM version, this exciting feature came out one by one. For Calculate Field and Rollup Field, developers are required to implement such functions before, but now you only need to manually configure it.

Calculate Field -- therefore, it is a cascade Field. After calculating the values of multiple fields and assigning the results to the final Field, the previous development is inseparable from Javascript, in addition, server-side changes also trigger the calculate logic. That is to say, Plugin, workflow, and data import can all enjoy this benefit. Of course, it is also very simple to configure the Calculate Field. You can follow the steps below to configure it.

1. Create a Calculate Field

2. Configure Calculate Rule (that is, Business Rule, click Edit on the Right of Field Type)

3. Test Results



Rollup Field is also a summary Field. In projects, we often perform some summary calculations, such as Quote and Quote Line Item, we want to create a field Amount on the Quote to calculate the unit price of all Quote Line items under the Quote. In the past, we would certainly use Plugin to implement this logic. After creating a Quote Line Item, we would re-calculate the Amount value.

Now, with Rollup Field, we can save the time to use Custom code to calculate the summary value. Although Rollup Field is quite powerful, it still has some limitations. For example, you cannot calculate the summary result in real time and only enable the summary function for fields of the number and datetime types. Let's take a look at its configuration method:

1. Create a Rollup Field

2. Configure Rollup rules

3. Test results (because Hierarchy is selected, the results of all rollup will be summarized to the upper level, and the two branchs under China Branch have a completed phone call respectively)

4. Run the Rollup task immediately.


I will update the feature related to Dynamics CRM 2015 in the future. I hope you will pay attention to this series of articles.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.