Development Guide
Dual Write
Prerequisites
Finance and Operations apps that have build version 10.0.9 (10.0.383.20013) (Quality update) and platform update 33 or later
Model-driven apps in Microsoft Dynamics 365 that have platform version 9.1.0000.11732 or later
Entity Creation
I’m assuming that you have already setup and configured Dual-Write in your D365 FO and Dataverse (CDS) environments. Furthermore, required entities are already created in FO and Dataverse (CDS) applications and fields are also added as per the following data type mappings.
Create Integration Key
It is very important to properly create and configure table key in MS Dataverse as per F&O entity key to avoid below error during mapping.
Mapping is missing for integration key - Requisition Number
Following are the steps to create that key in MS Dataverse.
First, open Finance and Operations development environment.
Open Visual Studio.
In Application Explorer, Go to Data Model > Data Entities > Open [Your Entity] in designer.
Expand Keys > EntityKey > [Your Key].
F&O Data Entity Key
Now, go to https://make.powerapps.com/, select target Environment.
Go to Solutions.
Open any Unmanaged Solution, create one if you don't have.
Open your entity (User information in my case).
Go to Keys tab.
Click on +Add Key and Select UserId field.
MS Dataverse Solution
User Information Table
Note: Key fields of both FO Entity and Dataverse Table must be mapped to each other.
Dual Write Entity/Table Mapping
Following are the steps to create mapping between Dataverse table and F&O entity through dual write.
Open your Finance and Operations application.
Go to Data management workspace.
Click on Dual Write Title.
Click on +Add Table Map.
Select F&O Entity and Dataverse Table.
Hit Save.
Dual Write Field Mapping
In this section, we’ll go through the steps and tricks that will be required to map Dataverse columns to Finance and Operation app fields through dual write workspace.
Click on Entity from Dual Write entity list.
By clicking +Add Mapping button, you can create the following types of mappings
Base Enum to Choices
To create such mappings, the following transformation needs to be defined.
Get F&O Base Enum Values.
Open Finance and Operations development environm
ent.Open Visual Studio.
In Application Explorer, Go to Data Model > Data Entities > Open SystemUserEntity (or Any Entity) entity in designer.
Under Fields, right click on EVENTPOPDISPLAYWHEN (or Any Field) field and go to it’s base EDT.
Get Dataverse Choices Values.
Go to https://make.powerapps.com/, select target Environment.
Open your User information (or Any Entity) entity.
Under Columns, open Event PopUp Display When (or Any Column) column.
Click on Edit Choices button.
Get Choices Values like below
Note: Make sure to remove commas from values. like 810,780,000 should be 810780000
NoYesId to Yes/No
To create mapping between Boolean and Yes/No type fields, please follow the below transformation.
General Mapping
No transformation will be required for all other types of mappings. Create such mappings simply by using “ = ” operator as below.
Sync Data
Please follow the steps to sync data between MS Finance And Operations and MS Dataverse applications to test above mappings.
Open the Finance and Operations app and go to Data Management > Dual-write.
Run the Initial sync functionality for the tables that you want to sync data for.
niatualiopa Troy Thompson https://marketplace.visualstudio.com/items?itemName=simpcanla-ku.Descargar-Icemaze-Cave--Skate-Escape-gratuita-2022
ReplyDeleteknopulalti