29.12.2017, 03:11 | #1 |
Участник
|
patrickmouwen: Dynamics 365 CRM and ERP interaction
Источник: http://patrickmouwen.com/functional/...p-interaction/
============== Overlooking many recent Dynamics 365 implementations, it seems that Microsoft’s marketing strategy of ‘marrying’ Dynamics AX and CRM into one Dynamics 365 family is paying off. More and more customers are choosing for the package deal of Operations and Sales. However, as always, the marketing machine is ahead of the troops: with the current state of the integration of the products, we need to be creative in order to make the two systems feel like one. In this blog post I’ll unveil an effective way to let Microsoft Dynamics 365 for Sales (CRM) interact with Microsoft Dynamics 365 for Finance and Operations (ERP)… Introduction Most of us will have some affinity with the Common Data Service, which can also be used to exchange data between Dynamics 365 for Sales (CRM) and Dynamics 365 for Finance and Operations (ERP). However, first of all Common Data Service does not offer real time capabilities at the moment of publishing this blog post. Second, this information exchange happens behind the scenes (on data/service level). But in order to make D365S and D365FO feel like one system, we need a different kind of interaction. An interaction which builds upon real time exchange of information and which builds upon data interaction on form level: creating a new D365FO sales order from D365S should offer an experience which is close to ‘native’ D365FO experience. Concepts for CRM and ERP interaction In a recent project context, the customer was looking to emphasize D365S as master system for Customer management and Customer interaction and to emphasize D365FO as their selling system. Therefore, all users were envisioned to work from a 360 degree customer dashboard in D365S which was also CTI enabled (=telephone integrated). Customer interaction in D365S could result in offering a quotation or direct sales which then required to bring the user into the D365FO sphere. In order to make this a seamless experience for the user, we evaluated two concepts: 1. Hub-2-Hub: in this concept, the user has one “Open in Call center” button which opens the D365FO Customer Service form for the Customer Account currently selected in D365S. This Customer service form then offers the out-of-the-box D365FO features to create or edit an existing sales order or return order (quotation was added by minor modification). See this concept in action (example): 2. Master-Slave: in this concept, the user working from D365S has direct access into the D365FO quick create forms for creating new sales orders and quotations and into the D365FO details forms allowing direct modifications to sales order or quotation. In this project context, we also decided to map the D365FO order holds to D365S tasks. This allowed Call Center agents to spot any order exceptions in D365S (for example missing payments), tackle that exception with the customer and then remove the respective hold by one click into D365FO. See this concept in action (new order): See this concept in action (new quotation from opportunity): In both concepts, the data modified or newly created in D365FO is synched back to D365S through the standard CDS templates currently available. So after some minutes, the 360 degree customer dashboard in D365S reflects these changes at next visit of the customer Account. In a few scenarios, the current non-real time CDS behavior was not sufficient to support the business scenario: for example, new customer accounts created in D365S are required to be available in D365FO straight away. Otherwise the quick create form for quotation or sales order creation in D365FO cannot be pre-filled for the customer which was just created in D365S (Master-Slave concept) and the Customer Service form in D365FO cannot be pre-filtered for the that new customer (Hub-2-Hub concept). So here we had to implement real time Azure LogicApp integration to get to the desired result (no further details in this blog post). The trick: how to realize the interaction on form level The ‘trick’ to make D365S to D365FO form level interaction possible is to utilize the relative freedom we have to leverage custom URL parts (suffixes) in D365FO. A typical D365FO URL for opening the Sales order form looks like this: https://.sandbox.ax.dynamics.com/?mi=MCRCustomerService&cmp= This is the URL that was opened from D365S in the Master-Slave\Create quote scenario: https://.sandbox.ax.dynamics.com/?mi...erService&cmp=&customerid=575342 As you can see, both the D365S Account number (kept in synch with D365FO Customer account through LogicApp) is passed through to D365FO by a custom URL suffix. You need two minor modifications to make this work:
D365FO X++ code: Due to the Azure AD enabled Single-Sign-On for D365S and D365FO, the D365FO client will open in about 2 seconds after clicking the JavaScript enabled button (the first time is always a bit slower due to caching). And given the Master-Slave 1-click approach which is similar to intra-D365FO behavior, most users will perceive this as ‘seamless’. Evaluation of the concepts I prefer the Master-Slave approach over the Hub-2-Hub approach for the following reasons:
Evaluation of the overall solution Although this solution was well received by the customer in this particular project context, there are some critical notes to make:
Happy DAX’ing and happy New Year! Patrick Het bericht Dynamics 365 CRM and ERP interaction verscheen eerst op Patrick Mouwen. Источник: http://patrickmouwen.com/functional/...p-interaction/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
Теги |
cds |
|
|