If a data model is set up and deployed, you can export the data as defined in the data model. This topic gives an overview of:
You define the data to be exported for a data model by a combination of setup on the the data model and its data sets.
In the Data modeling studio, a data model defines the data to be exported. For each data model, to define the data to be exported, you add the applicable:
Data is only exported for data sets and data entities that are enabled for the data model.
On the Data set page, in the Data selection field, indicate how the data, as defined by the data set, is exported when using the 'Default' group or an export group:
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 filter by legal entity and by the created date/time of records.
For a data model, you can add processing metadata tables to the target database. To do so, on the data model, set the Processing metadata field to 'Yes'. On export, on the target database, the data in the processing metadata tables (CDPLogStaging and CDPProcessingStaging) is updated.
On the Data modeling studio parameters, you can set the Entity export status field to 'Yes'. On export, for the tables which data is exported, the status and related dates are set in the Entity export status table in both D365 FO and the target database.
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.
If financial dimensions are set up for the data model, on export of the data model, the applicable financial dimension combinations are exported from the CDPDIMENSIONS table in D365 FO to the [schema name].CDPDIMENSIONSSTAGING table in the target database.
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:
You can also define a transformation for each data set or data entity as added to the data model. This transformation acts as a post-export transformation. However, it is executed directly after the export for the data set or data entity is finished.
In Data modeling studio, you export data using groups. You can use these types of groups:
Usually, you run the export of data in batch, in a recurring pattern. You can, however, also directly run the the export for an export group, without using a batch job.
You can use the default group to do incremental exports. When you run a batch job for the default group, for a:
The 'Default' export group is always available and shown on the Export dialog. You can use this default export group to create one batch job to export data for the data model. Data is exported for all enabled data sets and data entities that are added to the data model.
Note: If a full load batch job is running while the default batch job is due, the default batch job is not run.
You can use export groups to schedule data export for several data subsets in a different recurrence. These export groups are defined per data model. To export data by export group, also define export groups for the desired data sets and data entities of the data model.
Usually, you use an export group batch job to do incremental exports, for example, export of transactions.
Each export group, as defined for the data sets and data entities, is shown on the Export dialog. For each export group, you can create a separate batch job to export the data of the data sets and data entities with that export group defined.
Required setup:
Note: If a full load batch job is running while an export group batch job is due, the export group batch job is not run.
Usually, you use the 'Default' batch job or an export group batch job to do incremental exports. However, it can be desired to regularly run the 'Full load' export batch job, for example, each week. For example, if the data selection is set to 'Timestamp', only the new or updated records are exported with the 'Default' export or an export group export. However, in D365 FO, records can also be deleted. To delete these records as well from the target database, you can schedule a weekly 'Full load' export.
The 'Full load' export group is shown on the Export dialog. You can use this export group to create one batch job to export all data for all enabled data sets and data entities of the data model.
Required setup: On the data model general settings, set Schedule full load to 'Yes'.
Note: If a full load batch job is scheduled to run at the same time as a default batch job or an export group batch job, the full load batch job is run after the default batch job or export group batch job is ended.
If you export data for a data model, several actions are executed, based on the defined setup.
This picture gives a schematic overview of the export process.
On data export, these Data modeling studio functions are used:
On export:
Related to | Notes |
---|---|
Maintain data models |
  |
Process data export |
  |
Export data |
  |
Export data |
  |
Create data model |
  |