Dynamics CRM New Feature (4): Calculate Field & Rollup field

Source: Internet
Author: User

Calculate Field & Rollup field can be said to be 2 comparison to the force of the feature, as the dynamics of the CRM version of the update, so the exciting feature is one after another to emerge. As far as calculate field and rollup field are concerned, the prior implementation of such a feature requires the developer to participate, but now it is simple to do with a simple manual configuration.

Calculate field--Therefore, is the Cascade field, the value of multiple fields to calculate and assign the results to the final field, before doing such development is inseparable from JavaScript, and more to the point is that the server side changes will also trigger Calculate logic, This means that both Plugin,workflow and data import can enjoy this benefit. Of course the configuration calculate field is also very simple, you can follow the following steps to configure.

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 rollup of fields, in the project, we often do some summary calculations, such as quote and quote line item, we want to build a field on the quote amount to count all quote line under the quote A summary of the unit price in item. If it were before, we would definitely use plugin to implement the logic, after the quote line item has not been created to recalculate the value of amount.

Now, with rollup Field, we can save the time of using custom code to calculate the total value. Although the rollup field is relatively powerful, it has some limitations, such as the inability to calculate summary results in real time, and the ability to summarize only the fields of number and datetime types. Let's look at how it's configured:

1. Create a rollup field

2. Configure Rollup Rules

3. Test results (because the hierarchy is checked, all rollup results are aggregated to the previous level, and the 2 branche below the China branch have one completed phone call)

4. Let rollup task run immediately


I'll also update the related feature for Dynamics CRM 2015, and I hope you'll be interested in this series of articles.

??

Dynamics CRM New Feature (4): Calculate Field & Rollup field

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.