--- title: "Setting up the D365 FSCM data sources" slug: "setting-up-the-d365-fscm-data-sources" tags: ["d365fscm", "task", "FSCM V2.0.0.2"] updated: 2026-09-17T09:43:26Z published: 2026-09-17T09:43:26Z canonical: "help.dox42.com/setting-up-the-d365-fscm-data-sources" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://help.dox42.com/llms.txt > Use this file to discover all available pages before exploring further. # Setting up the D365 FSCM data sources You need to set up a new data source for each table of the report. There are two data sources for the dox42 FSCM Module: D365 FSCM Report and D365 FSCM Entity ## Prerequisite - You have [set up your document template](/v1/docs/creating-a-document-template). - You have [created a data map](/v1/docs/creating-a-standard-data-map). ## Step 1: Setting up the D365 FSCM Report data source 1. In Microsoft Word or Excel, go to the **dox42** ribbon and select **Data Map.** ![Toolbar displaying various functions like Generate, Data Map, and Refresh Template options.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-6me2xixz.png) **dox42** ribbon The **Data Map Designer** window opens. ![Data Map Designer interface showing various data source options for integration.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Bildschirmfoto 2025-04-07 um 10.44.58.png) **Data Map Designer** window 2. Select the **D365 FSCM Report** button. The **D365 FSCM Report** **Data Source** window opens. 3. In the **Connection** tab select the **…** button and choose the data fields from the connection file for URL and Username, for the password choose the Crypto data source as follows: ![Connection settings for D365 FSCM report data source with highlighted fields.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/image-1747299181373.png) **Connection** tab 4. Select the **Connect** button to check the connection. The connected D365 FSCM environment will be displayed at the end of the form. ![Display showing connection to a specific URL, indicating network status or access.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-0qy161f0.png) Connection status 5. Select the **D365 FSCM Report** tab. 6. Select the desired report. 7. Select the needed table and mark all the fields as follows: ![D365 FSCM report data source configuration for SalesInvoice and related table settings.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365FSCM_DataMap_Designer_DSReport_ReportTab.png) Filled out form in the **D365 FSCM Report** tab The fields of the table will be displayed in the **dox42 Data Fields** explorer, described in the third step. > [!NOTE] > Note > > A report often contains more than one table, e.g. a SalesInvoice has a SalesInvoiceHeader table and a SalesInvoiceLines table. For each table a new data source is needed. 8. Select **OK**. ## Step 2: Setting up the D365 FSCM Entity data source Set up the D365 FSCM Entity data source to always get the last transaction ID when generating a button: 1. In the Data Map Designer select the **D365 FSCM Entity** button. 2. Enter a name. 3. Select the **Connection** tab and set up the connection like above. 4. Select the **D365 FSCM Entity** tab. 5. In the **Entity** dropdown search for the entity **Dox42ReportStorageLastRecordsV3_SF.** ![D365 FSCM Entity Data Source configuration with highlighted entity name field.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-swa19m9q.png) **D365 FSCM Entity** tab 6. Set up the fields and filters. Filters should correspond to the report selected in the D365 FSCM Report data source to match with the metadata properly. - Example 1: Company “USMF”, Report “SalesInvoice” (no design): ![D365 FSCM report data source configuration showing report and table selection options.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-9y2a8upt.png) Example 1 in **D365 FSCM Report** tab ![Data source configuration showing fields and filters for report generation in D365.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-shzbvptc.png) Example 1 in **D365 FSCM Entity** tab - Example 2: Company “USMF”, Report “SalesInvoice”, Design “Report”: ![D365 FSCM Report Data Source configuration showing report and table details.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-2j0qygoe.png) Example 2 in **D365 FSCM Report** tab ![Data source configuration showing fields for report and invoice details in D365.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-739r0e5v.png) Example 2 in **D365 FSCM Entity** tab - Example 3: Report “SalesInvoice” (no company and no design): ![](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-kyv9t7cg.png) Example 3 in **D365 FSCM Report** tab ![Data source configuration showing fields and filters for report generation in D365.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-214cx4wt.png) Example 3 in **D365 FSCM Entity** tab 7. Select **OK**. 8. Select the **Input Parameter** button. 9. Name it “TransactionID”. 10. Select the **Insert Data Field** button. The **dox42 Data Fields** explorer opens. 11. From the **D365 FSCM Report** data source select the **ReportCreatedTransactionId** data field. 12. Select **OK**. The data field is inserted into the text box. ![](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/image(42).png) **Input parameter** window 13. Select **OK**. 14. Select **File > Save** to save the setup to the data map. ## Result You have set up the D365 FSCM data sources. ## Next steps - [Design your Word template](/v1/docs/working-with-word-document-templates) by [inserting data fields](/v1/docs/inserting), [adding conditions](/v1/docs/adding-conditions-to-a-text-via-automate-range) or i[nput parameters](/v1/docs/configuring-input-parameters-for-a-document-template) etc.