Activity | Area | Description |
---|---|---|
Add data set or data entity to data model |
Data modeling | In the Data modeling studio, a data model defines the data to be exported. For each data model, you define the applicable:
|
Add fields to data set |
Data modeling | In the Data modeling studio, a data set defines the data to be exported. For each data set, define the relevant fields. |
Analyze data exchange log |
Data modeling | You can analyze a data export action in the data exchange log. On analyze:
The result of the comparison, as shown on the Analysis details page, can be:
Note: You can use the Analysis details data for troubleshooting purposes. This data is not used for synchronization. |
Apply cross filtering |
Data modeling | To each data set or data entity, as added to a data model, you can apply filters to limit the data that is exported. You can apply these filters:
|
Apply data set template |
Data modeling | You can use a data set template to create data sets based on the template or to add fields to existing data sets. If a data set in the template:
|
Apply template to data model |
Data modeling | You can use a template to easily add data sets and data entities to a data model. You can use templates that are created from the:
|
Change data set or data entity status for data model |
Data modeling | On export, only the enabled data sets and data entities are exported. So, to (temporarily):
|
Create data model |
Data modeling | In the Data modeling studio, a data model defines the data to be exported, how to export the data, where to export the data to, and when to export the data. For each data model, define these settings:
|
Create data set |
Data modeling | In Data modeling studio, a data set defines the data to be exported. Use a data set to define the data to be exported by a data model. On creation of a data set, at least, define:
|
Create export groups for data model |
Data modeling | You can enable a data model export to be scheduled by export group. To export by export group, for each data set or data entity, as added to the data model, define the applicable export group. Export groups are defined by data model. To be able to use export group, create the export groups for the data model. |
Define financial dimensions |
Data modeling | For a data model, you can define which financial dimension combinations must be exported to the target database. You can use these financial dimension combinations for reporting purposes.
|
Define primary index of data set |
Data modeling | The standard table index for D365 FO tables, as used by Data modeling studio, consists of these fields: RecId and RecVersion. You can select additional primary indexes, if available for the data set table. These additional primary indexes are then used as well by Data modeling studio. Note: To use additional indexes, the table system fields must be added as well. If you select an additional index and the 'Add system fields' field was set to 'No', this field is automatically set to 'Yes'. |
Deploy data model |
Data modeling | If a data model is set up, and applicable transformations are defined, deploy the data model. You deploy a data model to prepare the target database for data exports. |
Deploy data set |
Data modeling | In the Data modeling studio, a data set defines the data to be exported. You can deploy a data set. As a result, in the target database, the related table is deleted and recreated based on the deployed data set. Note:
|
Design data set based on form |
Data modeling | In Data modeling studio, a data set defines the data to be exported. Use a data set to define the data to be exported by a data model. You can create data sets based on a form. A form can have fields from several tables. You can select any form field. If the selected form fields are related to different tables, for each of these tables, a separate data set is created. If a data set already exists for a table, no new data set is created. If a selected field:
|
Download data templates and transformations |
Data modeling | To exchange a data template or transformation with another D365 FO environment, download the template or transformation. You can download several templates and transformations at once. The downloaded templates and transformations are bundled in a compressed (zipped) folder. This folder is saved to your downloads location. In the compressed folder, for each category type, a separate folder is created with the templates and transformations of that category. The type defines file format of the template or transformation file. For example, XML or SQL. |
Edit data set |
Data modeling | If you have created a data set based on a form, check the data set header settings and field settings, and edit these as desired.
|
Export data |
Data modeling | If a data model is set up and deployed, you can export the data as defined in the data model. |
Refresh data exchange history |
Data modeling | The deploy and export history is logged. Over time, the number of logged records grows. To limit the number of logged records in the database, you can refresh the history. If you refresh the history, the retention settings of these Data modeling studio parameters are applied:
Example: Number of retention days is 7. Today you Refresh. As a result, all logged records are deleted that are older than a week. |
Save data model data sets and data entities as template |
Data modeling | On a data model, you can create a template based on one or several of the added data sets and data entities. You can use this template to easily add these data sets and data entities to another data model. If you, on a data model, save one or several data sets and data entities as a template, the template is created with the category 'Data' and the type 'XML'. In the template, references to the selected data sets and data entities are stored in plain XML. The XML also contains the value of the 'Enabled' field. On saving data set and data entity configurations to a template, you can:
|
Save data set as template |
Data modeling | You can save one or several data set configurations as a template. You can use this template to exchange the data set configuration with another D365 FO environment or to easily add it to a data model. If you save data set configurations as template, a template is created with the category 'Data' and the type 'XML'. In the template, the data set configuration is stored in plain XML. The XML contains both the data set general settings and the data set fields. On saving data set configurations to a template, you can:
|
Select data set fields to be exported for data model |
Data modeling | If you add a data set to a data model, by default all data set fields are included in the data export. For a data model, you can select a subset of the data set fields to be included in the data export. Note: If a data set is used in a data model, you can still add fields to the data set. These newly added data set fields are not added automatically to the selected fields for the data model. So, if fields are added to a data set, and these must be included in the data export, manually select these fields for the data model. |
Select deploy transformations |
Data modeling | For each data model you can define transformations to be executed automatically after the data model is deployed. You can define transformations of these categories:
A transformation contains one or several SQL statements which define the transformation actions to be done. |
Select pre- and post-export transformations |
Data modeling | For each data model you can define transformations to be executed automatically before and after the data model is exported. On data export for a data model, the processing transformations are used to do calculations in the target database. A processing transformation contains one or several SQL statements which define the transformation actions to be done. You can have processing transformations executed before or after exporting data:
|
Set up data export parameters |
Data modeling | Set up the parameters that are applied:
|
Set up entity creation parameters |
Data modeling | Set up the parameters that are applied:
|
Set up instrumentation transformation |
Data modeling | On deploy of a data model, you can use instrumentation transformations to create objects, stored procedures, and schemas in the target database. You can also use these transformations to do calculations on the metadata that is exported on deploy. An instrumentation transformation contains one or several SQL statements which define the transformation actions to be done. Usually, a transformation is created in SQL and then the file is uploaded to the Data templates and transformations. On upload, a new transformation is created or an existing transformation is overwritten. You can also manually create a transformation in DMS and create or copy the SQL statements to the Definition field. |
Set up maintenance parameters |
Data modeling | Several upgrade scripts are available to be used on upgrading your Data modeling studio installation to a newer version. Probably, most of these upgrade scripts aren't applicable anymore to must of the Data modeling studio installations. The only one that can possibly be applicable is the Upgrade post processing script (updateStagingEntitySuffixScript). You can use this upgrade script if you upgrade your Data modeling studio installation from a version that's older than 10.0.25.... This script solves possible issues with the entity suffix. Run the script after you have upgraded your Data modeling studio installation to the newest version. You can also define some diagnostics-related settings. |
Set up metadata synchronization parameters |
Data modeling | Set up the metadata-related parameters. |
Set up modeling transformation |
Data modeling | On deploy of a data model, you can use modeling transformations to create views in the target database. These views are created based on the business entities that are created in the target database on deploy. A modeling transformation contains one or several SQL statements which define the transformation actions to be done. Usually, a transformation is created in SQL and then the file is uploaded to the Data templates and transformations. On upload, a new transformation is created or an existing transformation is overwritten. You can also manually create a transformation in DMS and create or copy the SQL statements to the Definition field. |
Set up processing transformation |
Data modeling | On data export for a data model, you can use processing transformations to do calculations in the target database. A processing transformation contains one or several SQL statements which define the transformation actions to be done. You can have processing transformations executed before or after exporting data:
Usually, a transformation is created in SQL and then the file is uploaded to the Data templates and transformations. On upload, a new transformation is created or an existing transformation is overwritten. You can also manually create a transformation on the Data templates and transformations page, and create or copy the SQL statements to the Definition field. |
Synchronize data exchange log |
Data modeling | You can analyze a data export action in the data exchange log. On analyze:
On synchronize, in the target database, records that:
|
Update metadata |
Data modeling | In Data modeling studio, several metadata tables exist, which are used:
For the Data modeling studio metadata tables, the data is collected in D365 FO and stored in these metadata tables in D365 FO. It is important to keep the data in the metadata tables up-to-date. Make sure to update the metadata tables after each creation or change of a data model. |
Upload data templates and transformations |
Data modeling | To use data templates and transformations from another D365 FO environment, upload the data templates or transformations. You can upload a:
|
Validate and fix data set |
Data modeling | To maintain a data set, you can validate and fix a data set. Validation checks if the data set fields exist as fields in the applicable D365 FO table. Validation also checks the field settings. Besides the validation, the data set fields are fixed. The data set fields and field settings are made in line with the corresponding D365 FO table fields and field settings. For example, if a data set field does no longer exist in the D365 FO table, it is removed from the data set. |
Validate data exchange log |
Data modeling | You can validate a data export action in the data exchange log for troubleshooting purposes. On validate, the number of records in the D365 FO database table is compared to to the number of records in the target database table. As a result a message is shown for one of these possible scenarios:
Note: The validation results are not stored. |
Validate data model |
Data modeling | If you have deployed a data model, you can run the validation. The validation is done on the target database. Validation checks if, in the target database, the:
|
Validate data set |
Data modeling | To maintain a data set, you can validate a data set. Validation checks if the data set fields exist as fields in the applicable D365 FO table. Validation also checks the field settings. |
View data exchange history |
Data modeling | In Data modeling studio, for monitoring purposes, executed actions are logged. The main activities for which logging is done are:
Note: On deploy or data export, executed SQL statements are only logged if on the Data modeling studio parameters Log executed SQL statements is 'Yes'. Logging is done on three levels:
|