SlideShare a Scribd company logo
1 of 33
BUSINESS RULERS
Microsoft Dynamics CRM 2013
Business Rules
 With Microsoft Dynamics CRM 2013 and
Microsoft Dynamics CRM Online, you can
apply form logic without writing JavaScript
code. Business rules provide a simple
declarative interface to implement and
maintain fast changing, commonly used
business rules that will be applied to Main and
Quick Create forms for both the web
application and Microsoft Dynamics CRM for
tablets.
Why business rules?
 Not every organization has a developer readily
available to apply changes when the rules in
an organization change. Workflows allow a
non-developer to apply logic, but this logic can
be applied only on the server, after a record
has been created or updated. Client-side logic
is more immediate because it can be
performed as someone creates or edits a
record.
What can business rules do?
 Business rules allow for a subset of the capabilities provided
by form scripts. With Microsoft Dynamics CRM 2013 and
Microsoft Dynamics CRM Online, you can define conditions
and apply the following actions:
 Set field values
 Set field requirement levels
 Show or hide fields
 Enable or disable fields
 Validate data and show error messages
 Business rules can be set to apply to all Main
or Quick Create entity forms or specific Main
forms that you choose.
 You can transport business rules from one
organization to another by including them in a
solution and you can install solutions that
contain business rules.
How do I configure business
rules?
 First, you need to have the privileges
necessary to navigate
to Settings > Customization.
 This typically requires the System
Administrator or System
Customizer security role. To activate a
business rule, you must have the Activate
Business Rules privilege.
 Note:-
Business rules will only work for Updated
Entities or custom entities.
There are four ways you can view, create, or
edit business rules:
 Solution > Entity From a solution, such as
the default solution, you will find a Business
Rules node for all entities.
Solution > Entity > Field
When you view an entity field, you will find a Business Rules node that will
show you only the business rules that include this attribute.
Form Editor
From the form editor, you can use the Business Rules button in the ribbon to
show the Business Rules Explorer on the right side. This will show you all
business rules that will be applied just for this form.
If you create a rule from the form editor, the default scope is for that form.
More information: Set the scope
Form Editor > Field
When you view the properties for a field that is used in a form, you will see
a Business Rules tab that shows you the business rules that include this
attribute.
If an existing rule is similar to a rule you want to make, you can open
that rule and use the Save As button to copy an existing rule as a
starting point for a new rule.
Set the scope
 In the top right of the form, use the Scope field
to set the scope for the rule to All Forms or
choose any one of the Main forms. You cannot
select multiple specific forms.
 If you choose All Forms, the rule will be
applied to all the Main forms and the Quick
Create form, as long as the form includes all
the fields referenced by the rule. If you create
a new business rule by using the form editor,
the default scope is just that form.
Configure conditions
 If you want to change an activated business
rule, you must deactivate it before you can edit
it.
 To add a condition, click the + icon and a new
condition row will appear with default values
set. Enter the field name to set the Field, and
then choose the appropriateOperator.
Operator options will change depending on the
data type of the field.
 Conditions are checked whenever any field
referenced within the condition changes.
You can chose three different types of conditions:
Use this type to compare the value of one form field with another.
This option appears only for numerical or date data types. It does not
appear for fields that contain text. Use this type to compare the result of a
simple calculation that may use either a value in another form field or a
value you enter.
When you are finished entering or editing the rule, click or tap the check
mark icon to save it or the (X) icon to discard changes. To remove a
previously saved condition, place your cursor over the condition and click
the Delete icon.
Use this type to compare the value of one form field with a value you
enter.
Value
Field
Formula
Configure actions
To add an action, click the + icon and you will
have the following options:
 Show error message
Use this action to set an error message on a
field if the data within it is not valid. The text
you specify for the message will be displayed
with an error icon near the field.
The record cannot be saved as long as this message is displayed.
After the data in the field has been corrected according to the
conditions set in your rule, the message will disappear and the
record can be saved.
Set field value
Choose the Field and then the Type. There are three
types:
Use this type to set the value of a form field with a value you enter.
Field
Use this type to set the value of one form field with the value of
another field.
Value
This option appears only for numerical or date data types. It does not
appear for fields that contain text. Use this type to set the value to the
result of a simple calculation that may use either a value in another
form field or a value you enter.
Formul
a
Set business required
Use this type to change the requirement level for the field. The
options are Not Business Required and Business Required.
There is no option to set this to business recommended.
Set visibility
Use this type to change whether the field is displayed in the form.
The options are Show Field and Hide Field.
Lock or unlock field
Use this type to change whether the field is enabled in the form.
The options are Lock and Unlock. When the field is locked, people
will not be able to edit the value in the field.
After you have defined an action, you can change the order or delete
it by using the options available when you place your cursor over
the action.
Set the description
 Setting a description is optional. It isn’t
displayed anywhere else except in the
business rule editor.
 But it is a good idea to include a
description of what the rule is supposed to
do and why it has been added.
Test and activate your business
rules
 Before anyone can use the business rules you
have created, you must activate them. Before
you activate them, you should test them.
 You can test business rules by using
the Preview button in the form editor.
Limitations for business rules
 Business rules in this release are intended to
address common actions. Compared to what a
developer can do by using form scripts,
business rules have limitations. However,
business rules are not intended to replace
form scripts.
 The primary limitation you may find compared
to form scripts is that all conditions in the
business rules are evaluated using AND. All
the conditions must be true before the actions
will be applied.
 There is no support for OR or Else operators
to provide for more complex logic. To apply OR
in your conditions, you need to create separate
rules for each condition you want to test.
 This can be done efficiently by using the Save
As option and creating separate rules for each
condition you want to test.
Here are some other limitations to using business rules:
Business rules work only with fields. If you need to interact with other
visible elements, such as tabs and sections, within the form you need
use form scripts.
Business rules run only when the form loads and when field values
change. They do not run when a record is saved.
When you set a field value by using a business rule, any OnChange
event handlers for that field will not run. This is to reduce the potential
for a circular reference, which could lead to an infinite loop.
If a business rule references a field that is not present on a form, the rule
will simply not run. There will be no error message.
Whole Number fields that use the formats for TimeZone, Duration, or
Language will not appear in the rule editor for conditions or actions, so
they cannot be used with business rules.
For Microsoft Dynamics CRM for tablets, the definition of the business
rules are downloaded and cached when CRM for tablets opens. Changes
made to business rules are not applied until CRM for tablets is closed and
re-opened.
When you set the value of a lookup field, the text of the primary field value
that is set in the form will always match the text that is visible in the rule
definition. If the text representing the primary field value of the record you
are setting in the lookup changes, the value set by your rule will continue
to use the text portion of the primary field value defined by the rule. To fix
this, update the rule definition to use the current primary name field value.
It is useful to understand that the value set for a lookup has three
parts:
The text of the primary field value you see in the
form.
Name:
Id:
The unique identifier for the record. This is the data that is saved. This is not
visible in the form.
LogicalName:
The name of the entity, such as contact, account,
or opportunity.
The rule will set all three parts of this value. The Id value for a specific
record never changes, but the Name value might change.
if you define a rule to set a lookup to a contact that has the Full Name of
‘Old Name’, this text is the Name you will see in the lookup when it is set
by your business rule even if someone later changes the Full Name of the
contact to ‘New Name’. The lookup Id value will be correctly set to the
expected record, but the Name (which is not saved) will reflect the rule
definition value rather than the current Full Name value of the record it
references.
For example
Clear the actions from your
rules
 Except for showing error messages, you must
be sure to include a separate business rule to
clear any actions you may have applied. For
example, let’s say you have a rule on an
Account entity that says:
 If Preferred Method of Contact equals “Phone”
Set Business Phone as Business Required
Explanation :-
 Set Business Phone as Business Required
This will work whenever the Preferred Method of
Contact field is set to Phone. But if the Preferred
Method of Contact field is later changed to
something else, thePhone field will
remain Business Required. In order to clear this
action, you need to include a separate rule to
apply the following logic:
 If Preferred Method of Contact does not
equal “Phone”
Set Business Phone as Not Business
Required
Explanation
 The Show error message action is different
because it automatically evaluates any
conditions used to set the error message and
will remove it if the conditions are no longer
true.
Order in which logic is applied
 The logic included in your business rules is
applied together with other logic in the form
that could include system scripts, custom
scripts, and other business rules. The order in
which this logic is applied will affect the
outcome. The order is as follows:
1. Any system scripts are applied first.
2. Any logic in custom form scripts is applied.
3. Logic in business rules is applied.
 When there are multiple business rules, they
are applied in the order they were activated,
from oldest to newest.
 This means that to control the order in which
business rules are applied, you must
deactivate and reactivate the ones you want to
be applied last.
Localize error messages used in business
rules
 If you have more than one language
provisioned for your organization, you will want
to localize any error messages that you have
set. Each time you set a message, a label is
generated by the system.
 If you export the translations in your
organization, you can add localized versions of
your messages and then import those labels
back into Microsoft Dynamics CRM, so that
people using languages other than your base
language can view the translated messages.
Business rulers in Microsoft Dynamics CRM 2013

More Related Content

What's hot

Adobe Experience Platform Bootcamp
Adobe Experience Platform BootcampAdobe Experience Platform Bootcamp
Adobe Experience Platform BootcampRitesh Gupta, OMCP
 
Building a sales & marketing machine
Building a sales & marketing machineBuilding a sales & marketing machine
Building a sales & marketing machineDavid Skok
 
MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access TutorialvirtualMaryam
 
Salesforce introduction
Salesforce introductionSalesforce introduction
Salesforce introductionAnas Anas
 
Introduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisionsIntroduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisionsVIVEK GURURANI
 
Microsoft Planner for Office 365 - Presented by Atidan
Microsoft Planner for Office 365 - Presented by AtidanMicrosoft Planner for Office 365 - Presented by Atidan
Microsoft Planner for Office 365 - Presented by AtidanDavid J Rosenthal
 
Excel VBA programming basics
Excel VBA programming basicsExcel VBA programming basics
Excel VBA programming basicsHang Dong
 
Creating relationships with tables
Creating relationships with tablesCreating relationships with tables
Creating relationships with tablesJhen Articona
 
Office 365 periodic table - editable
Office 365 periodic table - editableOffice 365 periodic table - editable
Office 365 periodic table - editableAmmar Hasayen
 
Office vs Office 365 : quelles différences? [Webinaire]
Office vs Office 365 : quelles différences? [Webinaire]Office vs Office 365 : quelles différences? [Webinaire]
Office vs Office 365 : quelles différences? [Webinaire]Technologia Formation
 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IIAshish Saxena
 
Microsoft planner 101 - ClearBox Webinar
Microsoft planner 101 - ClearBox WebinarMicrosoft planner 101 - ClearBox Webinar
Microsoft planner 101 - ClearBox WebinarSam Marshall
 
Salesforce Sales Cloud: Best Practices to Win More Deals
Salesforce Sales Cloud: Best Practices to Win More DealsSalesforce Sales Cloud: Best Practices to Win More Deals
Salesforce Sales Cloud: Best Practices to Win More DealsCloud Analogy
 
Power BI Made Simple
Power BI Made SimplePower BI Made Simple
Power BI Made SimpleJames Serra
 
A Secure Journey to Cloud with Microsoft 365
A Secure Journey to Cloud with Microsoft 365A Secure Journey to Cloud with Microsoft 365
A Secure Journey to Cloud with Microsoft 365David J Rosenthal
 

What's hot (20)

Power Bi Basics
Power Bi BasicsPower Bi Basics
Power Bi Basics
 
Adobe Experience Platform Bootcamp
Adobe Experience Platform BootcampAdobe Experience Platform Bootcamp
Adobe Experience Platform Bootcamp
 
Access ppt
Access ppt Access ppt
Access ppt
 
Building a sales & marketing machine
Building a sales & marketing machineBuilding a sales & marketing machine
Building a sales & marketing machine
 
MS Office Access Tutorial
MS Office Access TutorialMS Office Access Tutorial
MS Office Access Tutorial
 
Salesforce introduction
Salesforce introductionSalesforce introduction
Salesforce introduction
 
Introduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisionsIntroduction to Power BI to make smart decisions
Introduction to Power BI to make smart decisions
 
Microsoft Planner for Office 365 - Presented by Atidan
Microsoft Planner for Office 365 - Presented by AtidanMicrosoft Planner for Office 365 - Presented by Atidan
Microsoft Planner for Office 365 - Presented by Atidan
 
Excel VBA programming basics
Excel VBA programming basicsExcel VBA programming basics
Excel VBA programming basics
 
Creating relationships with tables
Creating relationships with tablesCreating relationships with tables
Creating relationships with tables
 
Office 365 periodic table - editable
Office 365 periodic table - editableOffice 365 periodic table - editable
Office 365 periodic table - editable
 
Top 10 Reasons to Choose Salesforce for Your Business
Top 10 Reasons to Choose Salesforce for Your BusinessTop 10 Reasons to Choose Salesforce for Your Business
Top 10 Reasons to Choose Salesforce for Your Business
 
Office vs Office 365 : quelles différences? [Webinaire]
Office vs Office 365 : quelles différences? [Webinaire]Office vs Office 365 : quelles différences? [Webinaire]
Office vs Office 365 : quelles différences? [Webinaire]
 
Alv theory
Alv theoryAlv theory
Alv theory
 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part II
 
Microsoft planner 101 - ClearBox Webinar
Microsoft planner 101 - ClearBox WebinarMicrosoft planner 101 - ClearBox Webinar
Microsoft planner 101 - ClearBox Webinar
 
Salesforce Sales Cloud: Best Practices to Win More Deals
Salesforce Sales Cloud: Best Practices to Win More DealsSalesforce Sales Cloud: Best Practices to Win More Deals
Salesforce Sales Cloud: Best Practices to Win More Deals
 
Power BI Made Simple
Power BI Made SimplePower BI Made Simple
Power BI Made Simple
 
A Secure Journey to Cloud with Microsoft 365
A Secure Journey to Cloud with Microsoft 365A Secure Journey to Cloud with Microsoft 365
A Secure Journey to Cloud with Microsoft 365
 
matlab functions
 matlab functions  matlab functions
matlab functions
 

Viewers also liked

Make a positive change
Make a positive changeMake a positive change
Make a positive changebhamraps
 
要求獲得過程の観測と評価に関するツールの開発
要求獲得過程の観測と評価に関するツールの開発要求獲得過程の観測と評価に関するツールの開発
要求獲得過程の観測と評価に関するツールの開発Michitaro Okano
 
Stockholm symposium pauwels 2008
Stockholm symposium pauwels 2008Stockholm symposium pauwels 2008
Stockholm symposium pauwels 2008Lieven J.R. Pauwels
 
Reflections on Team Building at Land 2013 Jul 31
Reflections on Team Building at Land 2013 Jul 31Reflections on Team Building at Land 2013 Jul 31
Reflections on Team Building at Land 2013 Jul 31Robin Levesque, MA, PMP, RI
 
Canadian Cancer Society, Ontario Division - Impact Report 2009-10
Canadian Cancer Society, Ontario Division - Impact Report 2009-10Canadian Cancer Society, Ontario Division - Impact Report 2009-10
Canadian Cancer Society, Ontario Division - Impact Report 2009-10Canadian Cancer Society
 
New client side features - Microsoft Dynamics CRM 2016
New client side features - Microsoft Dynamics CRM 2016New client side features - Microsoft Dynamics CRM 2016
New client side features - Microsoft Dynamics CRM 2016Naveen Kumar
 
The Outer Planets
The Outer PlanetsThe Outer Planets
The Outer Planetsdwinter1
 
Salesforce Case Management with Canadian Cancer Society, Salesforce.org, and ...
Salesforce Case Management with Canadian Cancer Society, Salesforce.org, and ...Salesforce Case Management with Canadian Cancer Society, Salesforce.org, and ...
Salesforce Case Management with Canadian Cancer Society, Salesforce.org, and ...Heller Consulting
 
Adaptive Case Management Awards Ceremony 2016
Adaptive Case Management Awards Ceremony 2016Adaptive Case Management Awards Ceremony 2016
Adaptive Case Management Awards Ceremony 2016Future Strategies Inc.
 
Plugin vs Workflow in Microsoft Dynamics CRM
Plugin vs Workflow in Microsoft Dynamics CRMPlugin vs Workflow in Microsoft Dynamics CRM
Plugin vs Workflow in Microsoft Dynamics CRMAli Sharifi
 
30% - 60% of CRM Projects Fail
30% - 60% of CRM Projects Fail30% - 60% of CRM Projects Fail
30% - 60% of CRM Projects FailC5 Insight
 
Interview Questions For Microsoft Dynamics CRM
Interview Questions For Microsoft Dynamics CRMInterview Questions For Microsoft Dynamics CRM
Interview Questions For Microsoft Dynamics CRMKumari Warsha Goel
 
【產經新趨勢】陸資來台影響評估(2016/2)
【產經新趨勢】陸資來台影響評估(2016/2)【產經新趨勢】陸資來台影響評估(2016/2)
【產經新趨勢】陸資來台影響評估(2016/2)Collaborator
 
How Azure turns out to be vital for Soludoc's innovation strategy (Geert Truy...
How Azure turns out to be vital for Soludoc's innovation strategy (Geert Truy...How Azure turns out to be vital for Soludoc's innovation strategy (Geert Truy...
How Azure turns out to be vital for Soludoc's innovation strategy (Geert Truy...Codit
 
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)Codit
 

Viewers also liked (20)

TheZaeList Deck
TheZaeList DeckTheZaeList Deck
TheZaeList Deck
 
20160914152030857
2016091415203085720160914152030857
20160914152030857
 
Make a positive change
Make a positive changeMake a positive change
Make a positive change
 
要求獲得過程の観測と評価に関するツールの開発
要求獲得過程の観測と評価に関するツールの開発要求獲得過程の観測と評価に関するツールの開発
要求獲得過程の観測と評価に関するツールの開発
 
Stockholm symposium pauwels 2008
Stockholm symposium pauwels 2008Stockholm symposium pauwels 2008
Stockholm symposium pauwels 2008
 
Reflections on Team Building at Land 2013 Jul 31
Reflections on Team Building at Land 2013 Jul 31Reflections on Team Building at Land 2013 Jul 31
Reflections on Team Building at Land 2013 Jul 31
 
งานคอม
งานคอมงานคอม
งานคอม
 
Nurse-Client Relationship Rating Scale
Nurse-Client Relationship Rating ScaleNurse-Client Relationship Rating Scale
Nurse-Client Relationship Rating Scale
 
Canadian Cancer Society, Ontario Division - Impact Report 2009-10
Canadian Cancer Society, Ontario Division - Impact Report 2009-10Canadian Cancer Society, Ontario Division - Impact Report 2009-10
Canadian Cancer Society, Ontario Division - Impact Report 2009-10
 
New client side features - Microsoft Dynamics CRM 2016
New client side features - Microsoft Dynamics CRM 2016New client side features - Microsoft Dynamics CRM 2016
New client side features - Microsoft Dynamics CRM 2016
 
The Outer Planets
The Outer PlanetsThe Outer Planets
The Outer Planets
 
Salesforce Case Management with Canadian Cancer Society, Salesforce.org, and ...
Salesforce Case Management with Canadian Cancer Society, Salesforce.org, and ...Salesforce Case Management with Canadian Cancer Society, Salesforce.org, and ...
Salesforce Case Management with Canadian Cancer Society, Salesforce.org, and ...
 
Adaptive Case Management Awards Ceremony 2016
Adaptive Case Management Awards Ceremony 2016Adaptive Case Management Awards Ceremony 2016
Adaptive Case Management Awards Ceremony 2016
 
Plugin vs Workflow in Microsoft Dynamics CRM
Plugin vs Workflow in Microsoft Dynamics CRMPlugin vs Workflow in Microsoft Dynamics CRM
Plugin vs Workflow in Microsoft Dynamics CRM
 
30% - 60% of CRM Projects Fail
30% - 60% of CRM Projects Fail30% - 60% of CRM Projects Fail
30% - 60% of CRM Projects Fail
 
Interview Questions For Microsoft Dynamics CRM
Interview Questions For Microsoft Dynamics CRMInterview Questions For Microsoft Dynamics CRM
Interview Questions For Microsoft Dynamics CRM
 
Patanjali 2
Patanjali 2Patanjali 2
Patanjali 2
 
【產經新趨勢】陸資來台影響評估(2016/2)
【產經新趨勢】陸資來台影響評估(2016/2)【產經新趨勢】陸資來台影響評估(2016/2)
【產經新趨勢】陸資來台影響評估(2016/2)
 
How Azure turns out to be vital for Soludoc's innovation strategy (Geert Truy...
How Azure turns out to be vital for Soludoc's innovation strategy (Geert Truy...How Azure turns out to be vital for Soludoc's innovation strategy (Geert Truy...
How Azure turns out to be vital for Soludoc's innovation strategy (Geert Truy...
 
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)
Azure IPaaS: #IntegrationEvolved (Glenn Colpaert @ Codit's BizTalk 2016 Launch)
 

Similar to Business rulers in Microsoft Dynamics CRM 2013

vdocuments.mx_oracle-hrms-payroll-setup-ppt.ppt
vdocuments.mx_oracle-hrms-payroll-setup-ppt.pptvdocuments.mx_oracle-hrms-payroll-setup-ppt.ppt
vdocuments.mx_oracle-hrms-payroll-setup-ppt.pptHusseinWassof
 
142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculations142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculationsuday reddy
 
Oracle Advance Pricing Demo
Oracle Advance Pricing DemoOracle Advance Pricing Demo
Oracle Advance Pricing Demogaurav.upmanyu
 
reading_sample_sap_press_sap_successfactors_employee_central.pdf
reading_sample_sap_press_sap_successfactors_employee_central.pdfreading_sample_sap_press_sap_successfactors_employee_central.pdf
reading_sample_sap_press_sap_successfactors_employee_central.pdfshazz_28
 
Sales ERP
Sales ERPSales ERP
Sales ERPAspelec
 
COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...
COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...
COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...Rizing HCM
 
Here are the 16 pricing elements in pricing procedure and description for each
Here are the 16 pricing elements in pricing procedure and description for eachHere are the 16 pricing elements in pricing procedure and description for each
Here are the 16 pricing elements in pricing procedure and description for eachvishalsap84
 
Massmaintenance
MassmaintenanceMassmaintenance
MassmaintenanceDavid Chan
 
Salesforce Summer ’22 Release Notes - Highlights
Salesforce Summer ’22 Release Notes - HighlightsSalesforce Summer ’22 Release Notes - Highlights
Salesforce Summer ’22 Release Notes - HighlightsSkyPlanner
 
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...KarenMiner
 
Developing a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourceDeveloping a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourcerelekarsushant
 
Customization in Ms Dynamics CRM 2013
Customization in Ms Dynamics CRM 2013Customization in Ms Dynamics CRM 2013
Customization in Ms Dynamics CRM 2013Naveen Kumar
 
Configuring a New Dynamics 365 for for Finance & Operations Demo Environment ...
Configuring a New Dynamics 365 for for Finance & Operations Demo Environment ...Configuring a New Dynamics 365 for for Finance & Operations Demo Environment ...
Configuring a New Dynamics 365 for for Finance & Operations Demo Environment ...Murray Fife
 
Salesforce Admin Hacks
Salesforce Admin HacksSalesforce Admin Hacks
Salesforce Admin HacksJoshua Loomis
 
Sales force class-3
Sales force class-3Sales force class-3
Sales force class-3Amit Sharma
 
Oracle HRMS Fast Formula
Oracle HRMS Fast FormulaOracle HRMS Fast Formula
Oracle HRMS Fast Formularunjithrocking
 
Oracle business rules
Oracle business rulesOracle business rules
Oracle business rulesxavier john
 
KP Salesforce PPT Part I.pptx
KP Salesforce PPT Part I.pptxKP Salesforce PPT Part I.pptx
KP Salesforce PPT Part I.pptxSarasJain8
 

Similar to Business rulers in Microsoft Dynamics CRM 2013 (20)

vdocuments.mx_oracle-hrms-payroll-setup-ppt.ppt
vdocuments.mx_oracle-hrms-payroll-setup-ppt.pptvdocuments.mx_oracle-hrms-payroll-setup-ppt.ppt
vdocuments.mx_oracle-hrms-payroll-setup-ppt.ppt
 
142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculations142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculations
 
Oracle Advance Pricing Demo
Oracle Advance Pricing DemoOracle Advance Pricing Demo
Oracle Advance Pricing Demo
 
reading_sample_sap_press_sap_successfactors_employee_central.pdf
reading_sample_sap_press_sap_successfactors_employee_central.pdfreading_sample_sap_press_sap_successfactors_employee_central.pdf
reading_sample_sap_press_sap_successfactors_employee_central.pdf
 
Sales ERP
Sales ERPSales ERP
Sales ERP
 
COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...
COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...
COVID-19 SAP SuccessFactors Candidate Relationship Management (CRM) Configura...
 
Here are the 16 pricing elements in pricing procedure and description for each
Here are the 16 pricing elements in pricing procedure and description for eachHere are the 16 pricing elements in pricing procedure and description for each
Here are the 16 pricing elements in pricing procedure and description for each
 
Massmaintenance
MassmaintenanceMassmaintenance
Massmaintenance
 
Salesforce Summer ’22 Release Notes - Highlights
Salesforce Summer ’22 Release Notes - HighlightsSalesforce Summer ’22 Release Notes - Highlights
Salesforce Summer ’22 Release Notes - Highlights
 
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...
Solved Practice questions for Microsoft Querying Data with Transact-SQL 70-76...
 
Developing a ssrs report using a ssas data source
Developing a ssrs report using a ssas data sourceDeveloping a ssrs report using a ssas data source
Developing a ssrs report using a ssas data source
 
Customization in Ms Dynamics CRM 2013
Customization in Ms Dynamics CRM 2013Customization in Ms Dynamics CRM 2013
Customization in Ms Dynamics CRM 2013
 
Configuring a New Dynamics 365 for for Finance & Operations Demo Environment ...
Configuring a New Dynamics 365 for for Finance & Operations Demo Environment ...Configuring a New Dynamics 365 for for Finance & Operations Demo Environment ...
Configuring a New Dynamics 365 for for Finance & Operations Demo Environment ...
 
Salesforce Admin Hacks
Salesforce Admin HacksSalesforce Admin Hacks
Salesforce Admin Hacks
 
KWizCom Forms
KWizCom FormsKWizCom Forms
KWizCom Forms
 
3 creating accounting masters
3 creating accounting masters3 creating accounting masters
3 creating accounting masters
 
Sales force class-3
Sales force class-3Sales force class-3
Sales force class-3
 
Oracle HRMS Fast Formula
Oracle HRMS Fast FormulaOracle HRMS Fast Formula
Oracle HRMS Fast Formula
 
Oracle business rules
Oracle business rulesOracle business rules
Oracle business rules
 
KP Salesforce PPT Part I.pptx
KP Salesforce PPT Part I.pptxKP Salesforce PPT Part I.pptx
KP Salesforce PPT Part I.pptx
 

More from Naveen Kumar

Microsoft SQL Server 2016
Microsoft SQL Server 2016 Microsoft SQL Server 2016
Microsoft SQL Server 2016 Naveen Kumar
 
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer ServiceService Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer ServiceNaveen Kumar
 
Email Router Configuration - Gmail and microsoft dynamics crm 2016 online int...
Email Router Configuration - Gmail and microsoft dynamics crm 2016 online int...Email Router Configuration - Gmail and microsoft dynamics crm 2016 online int...
Email Router Configuration - Gmail and microsoft dynamics crm 2016 online int...Naveen Kumar
 
Microsoft Dynamics CRM Multi - Tier Architecture
Microsoft Dynamics CRM Multi - Tier ArchitectureMicrosoft Dynamics CRM Multi - Tier Architecture
Microsoft Dynamics CRM Multi - Tier ArchitectureNaveen Kumar
 
Marketing Automation - Part 3
Marketing Automation - Part 3Marketing Automation - Part 3
Marketing Automation - Part 3Naveen Kumar
 
Marketing Automation - Part 2
Marketing Automation - Part 2Marketing Automation - Part 2
Marketing Automation - Part 2Naveen Kumar
 
Marketing Automation - Part 1
Marketing Automation - Part 1Marketing Automation - Part 1
Marketing Automation - Part 1Naveen Kumar
 
Sales force automation - Part 4
Sales force automation - Part 4Sales force automation - Part 4
Sales force automation - Part 4Naveen Kumar
 
Sales force automation - Part 3
Sales force automation - Part 3Sales force automation - Part 3
Sales force automation - Part 3Naveen Kumar
 
Sales force automation - Part 2
Sales force automation  - Part 2 Sales force automation  - Part 2
Sales force automation - Part 2 Naveen Kumar
 
Business process flows presentation
Business process flows presentationBusiness process flows presentation
Business process flows presentationNaveen Kumar
 
Part 3 - DNS Configuration (IFD)
Part 3 - DNS Configuration (IFD)Part 3 - DNS Configuration (IFD)
Part 3 - DNS Configuration (IFD)Naveen Kumar
 
Part 2 - Setup ADFS (Active Directory Federation Service)
Part 2 - Setup ADFS (Active Directory Federation Service)Part 2 - Setup ADFS (Active Directory Federation Service)
Part 2 - Setup ADFS (Active Directory Federation Service)Naveen Kumar
 
Part 1 - Binding Certificates (IFD)
 Part 1 - Binding Certificates (IFD) Part 1 - Binding Certificates (IFD)
Part 1 - Binding Certificates (IFD)Naveen Kumar
 
Unified Service Desk - Part 3
Unified Service Desk  - Part 3Unified Service Desk  - Part 3
Unified Service Desk - Part 3Naveen Kumar
 
Unified service desk - Part 1
Unified service desk - Part 1Unified service desk - Part 1
Unified service desk - Part 1Naveen Kumar
 
New Feature in CRM 2016
New Feature in CRM 2016New Feature in CRM 2016
New Feature in CRM 2016Naveen Kumar
 
Customizing document templates
Customizing document templates Customizing document templates
Customizing document templates Naveen Kumar
 
Microsoft dynamics crm 2011 installation
Microsoft dynamics crm 2011 installation Microsoft dynamics crm 2011 installation
Microsoft dynamics crm 2011 installation Naveen Kumar
 
Sitemap in Microsoft Dynamics CRM 2011/2013
Sitemap in Microsoft Dynamics CRM 2011/2013Sitemap in Microsoft Dynamics CRM 2011/2013
Sitemap in Microsoft Dynamics CRM 2011/2013Naveen Kumar
 

More from Naveen Kumar (20)

Microsoft SQL Server 2016
Microsoft SQL Server 2016 Microsoft SQL Server 2016
Microsoft SQL Server 2016
 
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer ServiceService Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
 
Email Router Configuration - Gmail and microsoft dynamics crm 2016 online int...
Email Router Configuration - Gmail and microsoft dynamics crm 2016 online int...Email Router Configuration - Gmail and microsoft dynamics crm 2016 online int...
Email Router Configuration - Gmail and microsoft dynamics crm 2016 online int...
 
Microsoft Dynamics CRM Multi - Tier Architecture
Microsoft Dynamics CRM Multi - Tier ArchitectureMicrosoft Dynamics CRM Multi - Tier Architecture
Microsoft Dynamics CRM Multi - Tier Architecture
 
Marketing Automation - Part 3
Marketing Automation - Part 3Marketing Automation - Part 3
Marketing Automation - Part 3
 
Marketing Automation - Part 2
Marketing Automation - Part 2Marketing Automation - Part 2
Marketing Automation - Part 2
 
Marketing Automation - Part 1
Marketing Automation - Part 1Marketing Automation - Part 1
Marketing Automation - Part 1
 
Sales force automation - Part 4
Sales force automation - Part 4Sales force automation - Part 4
Sales force automation - Part 4
 
Sales force automation - Part 3
Sales force automation - Part 3Sales force automation - Part 3
Sales force automation - Part 3
 
Sales force automation - Part 2
Sales force automation  - Part 2 Sales force automation  - Part 2
Sales force automation - Part 2
 
Business process flows presentation
Business process flows presentationBusiness process flows presentation
Business process flows presentation
 
Part 3 - DNS Configuration (IFD)
Part 3 - DNS Configuration (IFD)Part 3 - DNS Configuration (IFD)
Part 3 - DNS Configuration (IFD)
 
Part 2 - Setup ADFS (Active Directory Federation Service)
Part 2 - Setup ADFS (Active Directory Federation Service)Part 2 - Setup ADFS (Active Directory Federation Service)
Part 2 - Setup ADFS (Active Directory Federation Service)
 
Part 1 - Binding Certificates (IFD)
 Part 1 - Binding Certificates (IFD) Part 1 - Binding Certificates (IFD)
Part 1 - Binding Certificates (IFD)
 
Unified Service Desk - Part 3
Unified Service Desk  - Part 3Unified Service Desk  - Part 3
Unified Service Desk - Part 3
 
Unified service desk - Part 1
Unified service desk - Part 1Unified service desk - Part 1
Unified service desk - Part 1
 
New Feature in CRM 2016
New Feature in CRM 2016New Feature in CRM 2016
New Feature in CRM 2016
 
Customizing document templates
Customizing document templates Customizing document templates
Customizing document templates
 
Microsoft dynamics crm 2011 installation
Microsoft dynamics crm 2011 installation Microsoft dynamics crm 2011 installation
Microsoft dynamics crm 2011 installation
 
Sitemap in Microsoft Dynamics CRM 2011/2013
Sitemap in Microsoft Dynamics CRM 2011/2013Sitemap in Microsoft Dynamics CRM 2011/2013
Sitemap in Microsoft Dynamics CRM 2011/2013
 

Recently uploaded

OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17Celine George
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesSHIVANANDaRV
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 

Recently uploaded (20)

OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17How to Manage Call for Tendor in Odoo 17
How to Manage Call for Tendor in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 

Business rulers in Microsoft Dynamics CRM 2013

  • 2. Business Rules  With Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online, you can apply form logic without writing JavaScript code. Business rules provide a simple declarative interface to implement and maintain fast changing, commonly used business rules that will be applied to Main and Quick Create forms for both the web application and Microsoft Dynamics CRM for tablets.
  • 3. Why business rules?  Not every organization has a developer readily available to apply changes when the rules in an organization change. Workflows allow a non-developer to apply logic, but this logic can be applied only on the server, after a record has been created or updated. Client-side logic is more immediate because it can be performed as someone creates or edits a record.
  • 4. What can business rules do?  Business rules allow for a subset of the capabilities provided by form scripts. With Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online, you can define conditions and apply the following actions:  Set field values  Set field requirement levels  Show or hide fields  Enable or disable fields  Validate data and show error messages
  • 5.  Business rules can be set to apply to all Main or Quick Create entity forms or specific Main forms that you choose.  You can transport business rules from one organization to another by including them in a solution and you can install solutions that contain business rules.
  • 6. How do I configure business rules?  First, you need to have the privileges necessary to navigate to Settings > Customization.  This typically requires the System Administrator or System Customizer security role. To activate a business rule, you must have the Activate Business Rules privilege.
  • 7.  Note:- Business rules will only work for Updated Entities or custom entities.
  • 8. There are four ways you can view, create, or edit business rules:  Solution > Entity From a solution, such as the default solution, you will find a Business Rules node for all entities.
  • 9.
  • 10. Solution > Entity > Field When you view an entity field, you will find a Business Rules node that will show you only the business rules that include this attribute.
  • 11. Form Editor From the form editor, you can use the Business Rules button in the ribbon to show the Business Rules Explorer on the right side. This will show you all business rules that will be applied just for this form. If you create a rule from the form editor, the default scope is for that form. More information: Set the scope
  • 12. Form Editor > Field When you view the properties for a field that is used in a form, you will see a Business Rules tab that shows you the business rules that include this attribute. If an existing rule is similar to a rule you want to make, you can open that rule and use the Save As button to copy an existing rule as a starting point for a new rule.
  • 13. Set the scope  In the top right of the form, use the Scope field to set the scope for the rule to All Forms or choose any one of the Main forms. You cannot select multiple specific forms.  If you choose All Forms, the rule will be applied to all the Main forms and the Quick Create form, as long as the form includes all the fields referenced by the rule. If you create a new business rule by using the form editor, the default scope is just that form.
  • 14. Configure conditions  If you want to change an activated business rule, you must deactivate it before you can edit it.  To add a condition, click the + icon and a new condition row will appear with default values set. Enter the field name to set the Field, and then choose the appropriateOperator. Operator options will change depending on the data type of the field.  Conditions are checked whenever any field referenced within the condition changes.
  • 15. You can chose three different types of conditions: Use this type to compare the value of one form field with another. This option appears only for numerical or date data types. It does not appear for fields that contain text. Use this type to compare the result of a simple calculation that may use either a value in another form field or a value you enter. When you are finished entering or editing the rule, click or tap the check mark icon to save it or the (X) icon to discard changes. To remove a previously saved condition, place your cursor over the condition and click the Delete icon. Use this type to compare the value of one form field with a value you enter. Value Field Formula
  • 16. Configure actions To add an action, click the + icon and you will have the following options:  Show error message Use this action to set an error message on a field if the data within it is not valid. The text you specify for the message will be displayed with an error icon near the field.
  • 17. The record cannot be saved as long as this message is displayed. After the data in the field has been corrected according to the conditions set in your rule, the message will disappear and the record can be saved.
  • 18. Set field value Choose the Field and then the Type. There are three types: Use this type to set the value of a form field with a value you enter. Field Use this type to set the value of one form field with the value of another field. Value This option appears only for numerical or date data types. It does not appear for fields that contain text. Use this type to set the value to the result of a simple calculation that may use either a value in another form field or a value you enter. Formul a
  • 19. Set business required Use this type to change the requirement level for the field. The options are Not Business Required and Business Required. There is no option to set this to business recommended. Set visibility Use this type to change whether the field is displayed in the form. The options are Show Field and Hide Field. Lock or unlock field Use this type to change whether the field is enabled in the form. The options are Lock and Unlock. When the field is locked, people will not be able to edit the value in the field. After you have defined an action, you can change the order or delete it by using the options available when you place your cursor over the action.
  • 20. Set the description  Setting a description is optional. It isn’t displayed anywhere else except in the business rule editor.  But it is a good idea to include a description of what the rule is supposed to do and why it has been added.
  • 21. Test and activate your business rules  Before anyone can use the business rules you have created, you must activate them. Before you activate them, you should test them.  You can test business rules by using the Preview button in the form editor.
  • 22. Limitations for business rules  Business rules in this release are intended to address common actions. Compared to what a developer can do by using form scripts, business rules have limitations. However, business rules are not intended to replace form scripts.  The primary limitation you may find compared to form scripts is that all conditions in the business rules are evaluated using AND. All the conditions must be true before the actions will be applied.
  • 23.  There is no support for OR or Else operators to provide for more complex logic. To apply OR in your conditions, you need to create separate rules for each condition you want to test.  This can be done efficiently by using the Save As option and creating separate rules for each condition you want to test.
  • 24. Here are some other limitations to using business rules: Business rules work only with fields. If you need to interact with other visible elements, such as tabs and sections, within the form you need use form scripts. Business rules run only when the form loads and when field values change. They do not run when a record is saved. When you set a field value by using a business rule, any OnChange event handlers for that field will not run. This is to reduce the potential for a circular reference, which could lead to an infinite loop. If a business rule references a field that is not present on a form, the rule will simply not run. There will be no error message. Whole Number fields that use the formats for TimeZone, Duration, or Language will not appear in the rule editor for conditions or actions, so they cannot be used with business rules.
  • 25. For Microsoft Dynamics CRM for tablets, the definition of the business rules are downloaded and cached when CRM for tablets opens. Changes made to business rules are not applied until CRM for tablets is closed and re-opened. When you set the value of a lookup field, the text of the primary field value that is set in the form will always match the text that is visible in the rule definition. If the text representing the primary field value of the record you are setting in the lookup changes, the value set by your rule will continue to use the text portion of the primary field value defined by the rule. To fix this, update the rule definition to use the current primary name field value. It is useful to understand that the value set for a lookup has three parts: The text of the primary field value you see in the form. Name: Id: The unique identifier for the record. This is the data that is saved. This is not visible in the form.
  • 26. LogicalName: The name of the entity, such as contact, account, or opportunity. The rule will set all three parts of this value. The Id value for a specific record never changes, but the Name value might change. if you define a rule to set a lookup to a contact that has the Full Name of ‘Old Name’, this text is the Name you will see in the lookup when it is set by your business rule even if someone later changes the Full Name of the contact to ‘New Name’. The lookup Id value will be correctly set to the expected record, but the Name (which is not saved) will reflect the rule definition value rather than the current Full Name value of the record it references. For example
  • 27. Clear the actions from your rules  Except for showing error messages, you must be sure to include a separate business rule to clear any actions you may have applied. For example, let’s say you have a rule on an Account entity that says:
  • 28.  If Preferred Method of Contact equals “Phone” Set Business Phone as Business Required Explanation :-  Set Business Phone as Business Required This will work whenever the Preferred Method of Contact field is set to Phone. But if the Preferred Method of Contact field is later changed to something else, thePhone field will remain Business Required. In order to clear this action, you need to include a separate rule to apply the following logic:
  • 29.  If Preferred Method of Contact does not equal “Phone” Set Business Phone as Not Business Required Explanation  The Show error message action is different because it automatically evaluates any conditions used to set the error message and will remove it if the conditions are no longer true.
  • 30. Order in which logic is applied  The logic included in your business rules is applied together with other logic in the form that could include system scripts, custom scripts, and other business rules. The order in which this logic is applied will affect the outcome. The order is as follows: 1. Any system scripts are applied first. 2. Any logic in custom form scripts is applied. 3. Logic in business rules is applied.
  • 31.  When there are multiple business rules, they are applied in the order they were activated, from oldest to newest.  This means that to control the order in which business rules are applied, you must deactivate and reactivate the ones you want to be applied last.
  • 32. Localize error messages used in business rules  If you have more than one language provisioned for your organization, you will want to localize any error messages that you have set. Each time you set a message, a label is generated by the system.  If you export the translations in your organization, you can add localized versions of your messages and then import those labels back into Microsoft Dynamics CRM, so that people using languages other than your base language can view the translated messages.