16 Oct’19

Blog, Dynamics 365, Dynamics AX, Dynamics CRM, Dynamics NAVError Handling Approaches for Integration

Introduction:

Handling Errors is a best practice in Integration when integrating to keep a track of the Errors that occurred during Integration. The Customized Error Handling is Handy to find quick Errors to understand them and resolve as required. This approach can be extended to any Source or Destination as required.

Our Scenario:

Integration from SalesForce – NAV.

Different Approaches to Error Handling:

No. Approach Description Customizations Required Comments
1. Entity Level All errors will be logged in an ‘Error Log’ entity in Salesforce and NAV along with the error description and date & time the error occurred. 1. Custom entity ‘Error Log’

2. Fields for ‘Error Log’ entity:

i. Name [String(100)]

ii. From Entity [String(100)]

iii. Error Message [Note]

iv. Record ID [String(100)]

v. Created On Date [DateTime]

 

For instance,

i. Name: Error while creating ‘Customer’ in NAV

ii. From Entity: Customer

iii. Error Message: The specified Country is not valid

iv. Record ID: Cust123

v. Created On Date: 08/07/2018

 

Example:   

2. Field Level If an error occurs for a record during integration, the error description will be stored in a custom field on the record in Salesforce or NAV. A custom field ‘Error Description’ will have to be created on the form of all required entities.

Field:

Error Description: [Note]

 

For instance, when you open a Customer ‘Cust123’,

Error Description: The specified Country is not valid

 

Example:

Written by

Rushank Karekar

Software Engineer

Leave a Reply

Your email address will not be published. Required fields are marked *

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Performing Update operation in Microsoft Dynamics NAV through Integration in Scribe Online

    13 November’ 2019

    Introduction: Use the Update Block to update existing records in the source or target datastore. While integrating w...

    Read more
  • Adding Microsoft Dynamics NAV Connection in Tibco Scribe Online

    13 November’ 2019

    Introduction: Establishing a connection is an important step before developing a solution for Integration. While integra...

    Read more
  • Time zone Conversion from Microsoft D365 for SSRS Reporting

    6 November’ 2019

    Introduction: Converting Date/Time values according to a time zone is quite challenging task in SSRS Reporting. For D365...

    Read more
  • How to Synchronize Office 365 and Zoho People?

    4 November’ 2019

    If your organization is using Zoho People and Office 365, you will find this article very useful. In this article we are...

    Read more
  • Check Plugin Timeout issues using Tracing in D365 CE

    31 October’ 2019

    In Dynamics plugin implementations, you might have lengthy complex plugins that makes calls to Dynamics several times. I...

    Read more