Setting up the D365 FSCM data sources

Prev Next

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

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.

    dox42 ribbon

    The Data Map Designer window opens.

    Data Map Designer interface showing various data source options for integration.

    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.

    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.

    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.

    Filled out form in the D365 FSCM Report tab

    The fields of the table will be displayed in the box “dox42 Data Fields”, described in the third step.

    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.

    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.

      Example 1 in D365 FSCM Report tab

      Data source configuration showing fields and filters for report generation in D365.

      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.

      Example 2 in D365 FSCM Report tab

      Data source configuration showing fields for report and invoice details in D365.

      Example 2 in D365 FSCM Entity tab

    • Example 3: Report “SalesInvoice” (no company and no design):

      Example 3 in D365 FSCM Report tab

      Data source configuration showing fields and filters for report generation in D365.

      Example 3 in D365 FSCM Entity tab

  7. Select OK.

  8. Select the Input Parameter button.

  9. Enter a name.

  10. Select the Insert Data Field button.
    The dox42 Data Fields window 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.

    Input parameter settings with highlighted 'Insert Data Field' option for data entry.

    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