AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 29.11.2013, 19:13   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
Leon's CRM Musings: A Codeless Rollup Field
Источник: http://leontribe.blogspot.com/2013/1...lup-field.html
==============

I owe this tip to my fellow CRM partner-in-crime, Oakton Canberran Julie Stedman who discovered it on a project we are working on. It works for both CRM 2011 and CRM 2013.

The Problem

Often a client asks to roll up the number of child records to a parent record or, perhaps, roll them up and split them by status. An example may be enrolments for a course. On the course record we want to see the number of enrolments and whether the attendees have paid.

Traditionally, we add a field to the parent record and use a plugin to query CRM to populate the value in the field. However, there is another way.

The Solution

A little-known property of adding a sub-grid to a form is the ability to only show a chart instead. This means we can add a bar chart or pie chart to a record showing totals for the child records. Scroll down to the bottom on the sub-grid properties for the magic tickbox to ‘Show Chart Only’.



That is it. With this ticked, instead of a grid showing, you see a chart which represents whatever related data you desire. Here is an example where I have added the chart to a Case record to summarise the associated activities.



The only drawback with this is you cannot drill down into the chart but, for rollup totals, this is probably not the end of the world.

Conclusions

For a quick and elegant way to show rollup totals of child records on a parent record, consider this trick. You still have the power to configure the look and feel of the chart(s) and you avoid adding a bunch of fields and populating them via plugins which can be time-consuming and, therefore expensive.



Источник: http://leontribe.blogspot.com/2013/1...lup-field.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 15 Blog bot Dynamics CRM: Blogs 1 10.02.2016 10:26
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 14 Blog bot Dynamics CRM: Blogs 0 12.07.2013 07:13
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 13 Blog bot Dynamics CRM: Blogs 0 27.03.2013 22:12
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 12 Blog bot Dynamics CRM: Blogs 0 30.01.2013 01:11
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 10 Blog bot Dynamics CRM: Blogs 0 17.08.2012 03:27

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 15:51.