Showing posts with label Products. Show all posts
Showing posts with label Products. Show all posts

Tuesday, July 16, 2013

Inside Microsoft Dynamics AX 2012 Master Data Management Scenario

Inside Microsoft Dynamics AX 2012 Master Data Management Scenario
 
Purpose: The purpose of this document is to describe Master Data Management capabilities included in standard Microsoft Dynamics AX 2012 Please note that in the previous articles I described how to implement Master Data Management scenario for Microsoft Dynamics using Microsoft SQL Server 2012 Master Data Services.
 
Challenge: There is number of tools and services available for Microsoft Dynamics AX 2012 which have Master Data Management capabilities. The challenge is to understand usage scenarios and how to apply them properly. Please note that Master Data Management capabilities included in standard product may be enough for some of your scenarios.
 
Solution: Microsoft Dynamics AX 2012 does provide some out-of-the-box Master Data Management capabilities for number of business entities which we are going to review in this document.  
 
Scenario
 
In this walkthrough for the sake of simplicity I’ll be focusing on usual Master Data Management entities such as Customers and Products.
 
Walkthrough
 
In this walkthrough I’m using Microsoft Dynamics AX 2012 R2 Demo VM (AX2012R2A) which has USMF company as a part of Demo data
 
Let’s first consider Customers. The customer business entity in Microsoft Dynamics AX 2012 has associated Global Address Book record which can be one of two types: Person or Organization
 
Global Address Book
 
 
Please note that in Maintain section on Global address book tab in the menu bar we have number of functions which may help us to manage Global address book records such as “Merge duplicates” and “Check for duplicates”
 
Check duplicates
 
 
Check duplicates function allows you to find similar Global address book records based on set of criteria such as Name, Phone, E-mail, State, City, ZIP/postal code. In this case I was looking for Global address book records also belonging to WA State
 
Maintain
 
 
After you identify duplicate Global address book records you can merge them by using “Merge records” function
 
Merge party records
 
 
On the dialog screen you will have to select Survivor party
 
All customers
 
 
Please note that you can also export information to Excel workbook from any list page in Microsoft Dynamics AX 2012
 
Now let’s look at Products. In Microsoft Dynamics AX 2012 you can manage products and product masters definitions separately from released products. Product and product master definitions are shared across all companies, but released products are typically only released to selected companies. This allows for centralized management of products within enterprise, at the same time you may want to create released product right away (decentralized approach) and the system will create appropriate product definition for you automatically
 
All products and product masters
 
 
Using centralized approach once you created product definition you will release it to one or more companies
 
Release products – Select products
 
 
Release products – Select companies
 
 
Product release session batch
 
 
Please note that you may want to execute release of products as a batch job
Ultimately when the product is released to particular company you will see it on Released products list page as shown below
 
Released products
 
 
Microsoft Dynamics AX 2012 also provides other data management capabilities applicable to any business entity or table. For example, Database log functionality allows you to log details of changes done to selected tables. Let’s see how we can apply Database log functionality to Customers and Products in Microsoft Dynamics AX 2012. 
 
Logging database changes - Welcome
 
 
//Configuration key = Ledger basic
 
Logging database changes – Tables and fields
 
 
In this particular case I’ll select Customers
 
Logging database changes – Type of change
 
 
I’ll be also interested to log all changes made to Customer records
 
Logging database changes - Finish
 
 
By the result of Logging database changes wizard the following record will be created on Database log setup form
 
Database log setup
 
 
Now when you do any changes to Customer records they will be appropriately tracked
 
Database log - Overview
 
 
You can also review details of those changes including info who changed the data, when, and what exactly was changed (old value vs new value)
 
Database log - History
 
 
Please note that when you activate Database log you introduce certain performance overhead
Microsoft Dynamics AX 2012 also provides Electronic Signature feature which works in conjunction with Database log functionality. Let’s review how this works!
 
First off Electronic Signature feature first has to be enabled in License Configuration
 
License Configuration  
 
 
Microsoft Dynamics AX 2012 provides number of standard templates for Electronic Signature controlled business entities. For example, BOM and Route
 
Electronic signature requirements
 
 
In this particular case I’ll activate Electronic Signature for BOM Activation process (“Activate BOM version”)
 
I’ll also need to get a certificate, designate approver and set up a password on Options form in Electronic Signature section
 
Options
 
 
When all preparation work is done we can now test Electronic Signature functionality out
I’ll go ahead and try to activate BOM version so I see “Sign document” dialog popped up
 
Sign document
 
 
Now I’ll provide approver password so I can successfully activate BOM version
 
Database log
 
 
When I’m done the fact of change will be logged in Database log as shown above
 
Signature review
 
 
You can also review detailed information regarding change including Signature information
In this document we reviewed just some of Master Data Management capabilities included in standard Microsoft Dynamics AX 2012
 
Summary: This document describes how to leverage existing Master Data Management capabilities included in standard Microsoft Dynamics AX 2012. In particular I explained how to use global address book and product management features related to Master Data Management, and some generic Master Data Management features such as Database log ad Electronic signature. Please review my other articles to learn how to implement Master Data Management scenario for Microsoft Dynamics using SQL Server Master Data Services.
 
Tags: Dynamics AX 2012, Master Data Management, Customers, Products, Global Address Book, Released Products, Database Log, Electronic Signature.
 
Note: This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.
 
Author: Alex Anikiev, PhD, MCP

Microsoft SQL Server 2012 Data Quality Services

Microsoft SQL Server 2012 Data Quality Services
 
Purpose: The purpose of this document is to provide a walkthrough of how to leverage Microsoft SQL Server 2012 Data Quality Services in conjunction with Master Data Services for Microsoft Dynamics Master Data Management scenario.
 
Challenge: The pain that organizations are experiencing around data accuracy, consistent reporting, regulatory compliance, etc. generated a lot of interest in Master Data Management. Master Data Management becomes extremely important when you have multiple different systems and you have to manage the data in different systems. In fact what we would also love to do is to control the quality of the data and be able to perform data cleanse, data matching and other data quality related activities.
 
Solution: The data-quality solution provided by Data Quality Services (DQS) enables a data steward or IT professional to maintain the quality of their data and ensure that the data is suited for its business usage. DQS is a knowledge-driven solution that provides both computer-assisted and interactive ways to manage the integrity and quality of your data sources. DQS enables you to discover, build, and manage knowledge about your data. You can then use that knowledge to perform data cleansing, matching, and profiling. You can also leverage the cloud-based services of reference data providers in a DQS data-quality project.  
 
Scenario
 
By now we have already implemented Master Data Management scenario using Microsoft SQL Server 2012 Master Data Services. The next step is to integrate Master Data Services with Data Quality Services to deliver end-to-end Master Data Management solution. For the sake of simplicity in this document I’ll consider usual Master Data Management entities such as Customers and Products.
 
Walkthrough
 
In this walkthrough I’m using Microsoft Dynamics AX 2012 R2 Demo VM (AX2012R2A) which has Microsoft SQL Server 2012 installed and Microsoft Dynamics CRM Online (free trial)
 
After you install Microsoft SQL Server 2012, Master Data Services and Data Quality Services (Server and Client components) you have to run Data Quality Server Installer to perform necessary post installation tasks by using dedicated installer which will create appropriate DQS databases, set up security, etc. In case you have multiple instances of Microsoft SQL Server installed please locate appropriate DQSInstaller.exe file in corresponding Microsoft SQL Server Binn folder
 
 
Please note that the default Microsoft SQL Server instance may be different from the desired (MSSQLSERVER) which is the case for Microsoft Dynamics AX 2012 R2 Demo VM (AX2012R2A), that’s why it is critical to run appropriate DQSInstaller.exe during DQS installation  
 
Data Quality Server Installer 
 
 
Once DQS installation is complete you can launch DQS Client
 
SQL Server Data Quality Services – Client
 
 
The next step will be to create Knowledge base for future data quality related activities. In particular I’ll be doing data matching trying to detect duplicates
 
Knowledge base management
 
 
Please note that number of domains are available for Knowledge base “DQS Data”. In particular I’ll be using “US – Last name” domain to detect duplicates based on last name of customers
 
Actual data matching we’ll perform in Microsoft Excel
 
 
That’s why first off we have to establish connection to MDS Server
 
Excel Add-in – Add new connection
 
 
Manage connections
 
 
Once connection has been established
 
 
Now we can use Master Data Explorer to open up appropriate Model (“Dynamics”)
 
 
In this scenario I’ll work with customers and at the moment I have one customer record in Customers table in MDS database
 
 
In Microsoft Excel I can introduce new (External) data as shown below
 
 
But before I publish this data to MDS I can perform data matching and find out if I have any duplicates or similar data based on criteria defined. For these purposes I’ll use Combine data feature which allows me to combine MDS data and External data in order to perform data matching activities
 
Combine data
 
 
I’ll select what data I want to combine and map the fields appropriately. Once this is done the system shows “who is who” in SOURCE field
 
 
When I have the data for analysis I can use Match data feature to perform data matching
 
Match data
 
 
Please note that for Name field I specify Domain = US – Last name, so the system will apply matching rules for the analysis based on Last name. The data will be clustered in accordance to similarity as shown below in CLUSTER_ID field  
 
 
Finally I’ll Show Details to see the results of extended analysis
 
 
Please note that for External data the system assigned a score in SCORE field which shows degree of similarity within the cluster. It appears that “Alex Anikiiev” is 90% similar to “Alex Anikiev” which allows me to define and eliminate duplicate data before publishing this to MDS
 
You can also perform periodic data cleanse, data matching and other data quality related activities using MDS and DQS to ensure the quality of your master data
 
Summary: This document describes how to leverage integration of Master Data Services and Data Quality Services when implementing Master Data Management scenario for Microsoft Dynamics AX 2012 and Microsoft Dynamics CRM. In particular I explained how to use Data Quality services in order to perform data matching based on certain criteria. Microsoft SQL Server 2012 provides a robust platform for Master Data Management which not only includes Master Data Services, but also Data Quality Services, SQL Server Integration Services, etc. Master Data Services provides Web front-end as well as Excel Add-in which allows you to choose your favorite tool to perform Master Data Management activities.
 
Tags: SQL Server 2012, Dynamics AX 2012, Dynamics CRM Online, Master Data Management, Master Data Services, Data Quality Services, SQL Server Integration services, Customers, Products.
 
Note: This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.
 
Author: Alex Anikiev, PhD, MCP

Wednesday, May 29, 2013

Microsoft Dynamics Connector (Microsoft Dynamics CRM 2011 Instance Adapter) in Master Data Management Scenario

Microsoft Dynamics Connector (Microsoft Dynamics CRM 2011 Instance Adapter) in Master Data Management Scenario
 
Purpose: The purpose of this document is to explain what Master Data Management capabilities are provided by Microsoft Dynamics Connector in particular related to Microsoft Dynamics CRM 2011 Instance Adapter. Please note that in the previous articles I described how to implement Master Data Management scenario for Microsoft Dynamics using Microsoft SQL Server 2012 Master Data Services.
 
Challenge: There is number of options available for Microsoft Dynamics CRM 2011 which have Master Data Management capabilities. The challenge is to understand usage scenarios and how to apply them properly. Microsoft Dynamics CRM 2011 Instance Adapter allows you to synchronize data between two Microsoft Dynamics CRM 2011 organizations.
 
Solution: The Microsoft Dynamics CRM 2011 Instance Adapter, an additional adapter for use with Connector for Microsoft Dynamics, allows you to synchronize data between two Microsoft Dynamics CRM 2011 organizations. The adapter supports communication between two endpoints that exist on any authentication/hosting environment (on-premise, online, IFD, etc.) This means that you can leverage this new adapter to move Microsoft Dynamics CRM 2011 data between test and production servers or from on-premises to the cloud.
 
Scenario
Microsoft Dynamics Connector with Microsoft Dynamics CRM 2011 Instance Adapter can be used in some Master Data Management scenarios when Microsoft Dynamics CRM business data has to be synchronized between two Microsoft Dynamics CRM 2011 organizations. For the sake of simplicity in this document I’ll consider usual Master Data Management entities such as Customers and Products.
 
Walkthrough
 
For the purposes of this walkthrough I installed Microsoft Dynamics Connector with Microsoft Dynamics CRM 2011 Instance Adapter. In this scenario I’ll be using Microsoft Dynamics CRM Online, so I also subscribed to free trial of Microsoft Dynamics CRM Online here: http://www.microsoft.com/en-us/dynamics/crm-free-trial-overview.aspx
 
Now let’s review Adapter Settings required for Microsoft Dynamics CRM 2011 Instance Adapter
 
Adapter Settings – Dynamics CRM 2011 Adapter Destination
 
 
Please note that after you install Microsoft Dynamics CRM 2011 Instance Adapter you will see the following adapters available:
<![if !supportLists]>-          <![endif]>Dynamics CRM 2011 Adapter Source
<![if !supportLists]>-          <![endif]>Dynamics CRM 2011 Adapter Destination
 
Adapter Settings – Dynamics CRM 2011 Adapter Source
 
 
Please note that you have to provide Integration account credentials which is different from Administrator account credentials, that’s why I created brand-new integration@usmf.onmicrosoft.com user in Microsoft Dynamics CRM Online
 
Please also note that Online trial allows you to create one organization, that’s why for the sake of demo I’ll set up both Destination and Source to point to the same organization “Microsoft”. But obviously for real synchronization you would set up 2 different organizations, for example, Source = “Microsoft1” and Destination = “Microsoft2”  
 
Microsoft Dynamics CRM 2011 Instance Adapter Configuration – Get Organizations
 
 
Here’s a quick diagram which explains how the business data is synchronized between two Microsoft Dynamics CRM 2011 organizations  
 
<![if !vml]><![endif]>
 
Microsoft Dynamics CRM 2011 Adapter Configuration – Entities
 
 
Now we have to select and configure entities which will be enabled for synchronization. In this instance I’ll select Account and Product entities
 
Please see the full list of Microsoft Dynamics CRM 2011 entities available for configuration below  
 
Entity
Description
Account
 
Activity
 
Address
 
Appointment
 
Article
 
Article Template
 
Business Unit
 
Campaign
 
Campaign Activity
 
Campaign Response
 
Case
 
Case Resolution
 
Competitor
 
Competitor Address
 
Connection
 
Connection Role
 
Contact
 
Contract
 
Contract Line
 
Contract Template
 
Currency
 
Data Map
 
Dialog Session
 
Discount
 
Discount List
 
Document Location
 
Duplicate Detection Rule
 
Duplicate Rule Condition
 
E-mail
 
E-mail Attachment
 
E-mail Template
 
ERP System User
 
Facility/Equipment
 
Fax
 
Field Permission
 
Field Security Profile
 
Goal
 
Goal Metric
 
Internal Address
 
Invoice
 
Invoice Product
 
Lead
 
Lead Address
 
Letter
 
Mail Merge Template
 
Marketing List
 
Note
 
Opportunity
 
Opportunity Close
 
Opportunity Product
 
Opportunity Relationship
 
Order
 
Order Close
 
Order Product
 
Organization
 
Phone Call
 
Price List
 
Price List Item
 
Process
 
Product
 
Publisher
 
Queue
 
Queue Item
 
Quick Campaign
 
Quote
 
Quote Close
 
Quote Product
 
Recurring Appointment
 
Report
 
Report Related Category
 
Resource
 
Resource Expansion
 
Rollup Field
 
Rollup Query
 
Sales Literature
 
Saved View
 
Scheduling Group
 
Security Role
 
Service
 
Service Activity
 
SharePoint Site
 
Site
 
Solution
 
Subject
 
System Chart
 
Task
 
Team
 
Territory
 
Unit
 
Unit Group
 
User
 
User Chart
 
View
 
 
Microsoft Dynamics CRM 2011 Adapter Configuration – Progress  
 
 
Then the system will go ahead and configure selected entities for Microsoft Dynamics Connector
 
Now let’s set up an integration between two Microsoft Dynamics CRM 2011 organizations in Microsoft Dynamics Connector
 
New Integration
 
 
And again I use the same Source and Destination just for the sake of demo
 
As the result new integration will be created
 
Connector for Microsoft Dynamics
 
 
The next step will be to add Maps for Accounts and Products synchronization
 
New Map
 
 
Please note that Accounts and Product entities are available in the list because we configured them earlier. Let’s create and review the details of Account to Account map
 
Account (Source) to Account (Destination) map
 
 
Please note that you will have access to all fields for Account entity in order to set them up for synchronization
 
Map destination field – How do you want to map to Account
 
 
You can map fields directly by “Mapping to source field” or you can apply any kind of data transformation by “Using a function” if necessary
 
Map destination field – Map a source field to Account
 
 
In case you want to map a source field to Account you will select the field from the dialog or type the name of the field in
 
Account (Source) to Account (Destination) map – Result
 
 
As the result, for example, Account field in Destination will be mapped to Account field in Source
 
As you can see Microsoft Dynamics Connector with Microsoft Dynamics CRM 2011 Instance Adapter standard can be effectively used to synchronize master data between two Microsoft Dynamics CRM 2011 organizations
 
Summary: This document describes how to use Microsoft Dynamics Connector with Microsoft Dynamics CRM 2011 Instance Adapter in Master Data Management scenarios for Microsoft Dynamics CRM 2011. In particular I explained how to configure synchronization in Microsoft Dynamics Connector for two Microsoft Dynamics CRM 2011 organizations as well as define a map for particular types of business data which includes Customers and Products. Microsoft Dynamics Connector provides a robust and extensible platform for data synchronization in Master Data Management scenario for Microsoft Dynamics AX 2012 and Microsoft Dynamics CRM 2011 which allows us to synchronize records, do any kinds of data transformations, etc. as required. Please note that Microsoft Dynamics CRM 2011 Instance Adapter is designed to synchronize business data between two Microsoft Dynamics CRM 2011 organizations and it doesn’t provide full-fledged Master Data Management capabilities (Content, Relationship, Access, Change, Process), that’s why please review my other articles on how to implement Master Data Management scenario for Microsoft Dynamics using SQL Server Master Data Services.   
 
Tags: Microsoft Dynamics CRM 2011, Dynamics Connector, Instance Adapter, Source, Destination, Master Data Management, Accounts, Products.
 
Note: This document is intended for information purposes only, presented as it is with no warranties from the author. This document may be updated with more content to better outline the issues and describe the solutions.
 
Author: Alex Anikiev, PhD, MCP