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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 16.10.2013, 03:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,574 / 848 (80) +++++++
Регистрация: 28.10.2006
Gareth Tucker: CRM 2013 New Features: Business Rules
Источник: http://garethtuckercrm.com/2013/10/1...usiness-rules/
==============

One of the new toys we get with CRM 2013 is the first release of Microsoft’s Business Rules engine.   Think of this release as a configuration-based replacement for basic field manipulation javascript.  

You get a simple UI where you can define Business Rules that will be executed by the CRM form’s OnLoad, OnSave and OnChange events.  The rules are defined within each entity inside your solution file:



Each rule is comprised of Conditions and Actions (and there is a space to include some comments).  Here’s an example:



The Conditions are similar to what you will be used to with CRM’s workflow designer but Microsoft have taken a different approach to the configuration experience. When evaluating fields in your conditions you can check for nulls / not nulls and you can compare the entered value with a hard coded value, a calculated value or with another field:



The actions available are primarily related to fields:



You can also write Business Rules that perform validations, block record updates and display errors the user.  Here I tell the user off once they enter an Est. Revenue value:



This surfaces in the UI as follows:



Other things to know:

  • The rules need to be activated before they take effect (similar to workflows)
  • You can specify whether the rule applies to all forms or specific forms
  • The rules fire in the new mobile client for iPad and Windows 8
  • The rules are client-side rules, they do not fire during API calls, data import, etc.    Microsoft’s vision is to add that support in a future release.
  • The rules do not support show/hide of Tabs and Sections.  You either need to mention each field individually in your Business Rule or use javascript.
  • If your rule hides a field then CRM moves fields up to close the gap
  • You need to consider the inverse of your rule.  i.e. in my example I tell CRM what to do when the Est. Revenue field contains data.  I don’t tell it what to do when the Est. Revenue does not contain data.  I need to write a second Business Rule for that.
 

Fun feature, I like it!




Источник: http://garethtuckercrm.com/2013/10/1...usiness-rules/
__________________
Расскажите о новых и интересных блогах по 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, время: 05:25.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.