Skip to main content

Building pipelines with Microsoft Dynamics 365 Business Central Writer

In Striim, an app (application) holds the details of the data pipeline—source & target details and other logical components organized into one or more flows. Developing an application also means building the data pipeline.

Applications may be created:

Pre-requisite - The initial setup and configuration you do in Microsoft Dynamics 365 Business Central applications are described in the Initial Setup section.

Create a Dynamics 365 Business Central Writer application using the Flow Designer

This procedure outlines how to use Striim’s Flow Designer to build and configure data pipelines. Flow Designer enables you to visually create applications with minimal or no coding.

  1. Go to the Apps page in the Striim UI and click Start from scratch.

  2. Provide a name and namespace for the application. The namespace helps organize related apps.

  3. In the component section, expand Targets, and enter a keyword such as Dynamics 365 Business Central Writer in the search field to filter available targets.

  4. Select the desired target (Dynamics 365 Business Central Writer).

  5. In the properties panel, provide the input stream and properties for the writer.

    ms-dynamics-365-bus-cntl-writer.png
  6. Click Save to complete the properties configuration.

  7. You can drag and drop processors, enrichers, and sources to complete your pipeline logic.

  8. Once done, deploy and start the application to begin data flow.

Create a Dynamics 365 Business Central Writer application using TQL

The following sample TQL uses Striim’s Dynamics 365 Business Central Writer.

    CREATE TARGET TargetName USING Global.MicrosoftDynamics365BusinessCentralWriter (
     ClientSecret: '<ClientSecret>',
     RefreshToken: '<RefreshToken>',
     ApplicationErrorCountThreshold: 0,
     TenantId: 'TenantId',
     Company: 'Company',
     ClientId: 'ClientId',
     connectionProfileName: '',
     ConnectionTimeout: '300',
     useConnectionProfile: false,
     OrganizationUrl: 'URL',
     Tables: 'source1.%,%',
     Mode: 'MERGE',
     BatchPolicy: 'eventCount:1000, Interval:60' )
    INPUT FROM DataStream;