Dynamics 365 Finance and SCM Bulk Export

In this article

Overview

You can use this Snap to export the data associated with a selected entity (in bulk) from the Microsoft Dynamics 365 Finance and SCM application.

bulk-export-overview-image.png

Snap Type

The Dynamics 365 Finance and SCM Bulk Export Snap is a Read-type Snap.

Prerequisites

  • A valid account with the required permissions.

  •  You should create an export project in the Finance and Operations application prior to calling the APIs.

Support for Ultra Pipelines

Works in Ultra Pipelines

Known Issues

None.

Snap Views

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Type

Format

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

 

  • Min: 0

  • Max: 1

  • Mapper

  • Copy

Requires user data as a JSON document

Output

Document

Binary

 

  • Min: 1

  • Max: 2

  • Mapper

  • Copy

Sends the new user information in bulk for an entity.

Error

Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:

  • Stop Pipeline Execution: Stops the current Pipeline execution if the Snap encounters an error.

  • Discard Error Data and Continue: Ignores the error, discards that record, and continues with the remaining records.

  • Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap Settings

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the field set.

  • Remove icon ( ): Indicates that you can remove fields from the field set.

  • Upload icon ( ): Indicates that you can upload files.

Field Name

Field Type

Field Dependency

Description

Field Name

Field Type

Field Dependency

Description

Label*

 

Default Value: Dynamics 365 Finance and SCM Bulk Export
Example: Finance and SCM Bulk Export

String

N/A

Specify a unique name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline.

 

Integration type

 

Default ValueDMF package API
Example: Recurring integrations API

Dropdown list

N/A

Specify the type of import API. The available options are:

  • DMF package API: Data Management Framework's package (REST API) enables you to integrate data using data packages.

  • Recurring integrations API: Enables the exchange of documents or files between finance and operations and any third-party application or service.

Operation

Default ValueTrigger Export
Example: Generate Export

Dropdown list

Appears when the Integration type is DMF package API.

Select one of the operations. The available options are:

  • Trigger Export

  • Generate Export

  • Trigger and Generate Export

  • The document view is the mandatory output view for Trigger Export.

  • The binary view is the mandatory output view for both Generate Export and Trigger and Generate Export.

Package name

Default Value: N/A
Example: ssapa_exchange_rates

String/Expression

Appears when the Operation is Trigger Export or Trigger And Generate Export.

Specify the name of the exported data package.

This field is mandatory when you select Trigger Export as the Operation.

Definition group ID

Default Value: N/A
Example: ssapa_exchange_rates

String/Expression

Appears when Operation is

Trigger Export or Trigger And Generate Export.

Specify the name of the export data project.

Execution ID

Default Value: None
Example: ExportPackage-12/7/2023 05:32:34 am

String/Expression

Appears when Operation is

Generate Export.

Specify the ID to use for the bulk export job.

Legal entity

Default Value: N/A
Example: dat

String/Expression/Suggestion

Appears when Operation is -Trigger Export or Trigger And Generate Export.

Specify the legal entity for data export.

Activity ID

Default Value: N/A
Example:

String/Expression

Appears when Integration type is -

Recurring integrations API.

Specify the activity ID. Learn more about how to obtain the activity ID: https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/recurring-integrations#manage-recurring-data-jobs

Job status check interval (seconds)

Default Value: 5
Example: 10

Integer/Expression

Appears when Operation is -

Generate Export or Trigger And Generate Export.

Specify the amount of time between job status check requests.

Timeout (seconds)

Default Value60

Example: 100

Integer/Expression

N/A

Specify the connection and response timeout for the requests made to the server.

Number of retries

Default Value0

Example: 5

Integer/Expression

N/A

Specify the maximum number of retry attempts between failures.

Retry interval (seconds)

Default Value1

Example: 10

Integer/Expression

N/A

Specify the amount of time between retry attempts.

Snap Execution

Default ValueValidate & Execute
Example: Execute only

Dropdown list

N/A

Select one of the following three modes in which the Snap executes:

  • Validate & Execute: Performs limited execution of the Snap, and generates a data preview during Pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during Pipeline runtime.

  • Execute only: Performs full execution of the Snap during Pipeline execution without generating preview data.

  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Troubleshooting

Error

Reason

Resolution

Error

Reason

Resolution

Output view is missing

Document/Binary output view is not enabled.

Ensure to enable the document/binary output view.

Error while executing the request

401: Unauthorized

Ensure that the specified account is valid and retry.

Export job with Execution ID: null is not completed. The status is: Executing.

Exceeded 100 check API calls.

Adjust the job status check interval for long-running jobs and retry.

Examples

Export files from Finance and Operations application using DMF Package API

This example pipeline below demonstrates how to export the files in bulk from the Finance and Operations application.

Download this Pipeline

Step 1: Configure the Dynamics 365 Finance and SCM Bulk Export Snap with DMF Package API as the Integration type and Trigger Export as the Operation to initiate the bulk export job.

Step 2: Configure the Dynamics 365 Finance and SCM Bulk Export Snap with Package name, Definition group ID, and Legal entity fields which are mandatory to configure for Trigger Export operation.

Step 3: Configure the Mapper Snap with the value from the upstream Snap to pass as the Execution ID to the downstream Snap to generate the export.

 

 

Step 4: Configure the downstream Dynamics 365 Finance and SCM Bulk Export Snap with Generate Export as the Operation as follows:

Step 5: Validate the pipeline. On validation, the export is successful and the Snap displays the exported information in the binary output view.

Alternatively, you can use the Trigger and Generate Export as the Operation in the Dynamics 365 Finance and SCM Bulk Export Snap.

Download this pipeline.

 

 

Export files from Finance and Operations application using Recurring Integrations API

This example pipeline below demonstrates how to export the files in bulk from the Finance and Operations application using the Recurring integrations API. You must use the Recurring integration API when you want to perform a recurring data job.

Download this pipeline.

Step 1: Configure the Integration type as Recurring integrations API in the Dynamic 365 Finance and SCM Bulk Export Snap.

Step 2: Configure the Activity ID, which is the mandatory field for this integration type.

Step 3: Validate the pipeline. On validation, the export job completion status is displayed with the activity ID.

 

Downloads

 

Snap Pack History