SK SKYVVA Documentation

154. Salesforce ID Handling Request and Response

Introduction

In this tutorial, we will learn about what is Salesforce ID Handling with request and response?  Why do we use this feature? and how to use this feature?  This function is the new feature that allows to use in Skyvva version 2.47.11 and go on.

What is Salesforce ID Handling with request and response?

Salesforce Id Handling is a feature that Skyvva enhances in adapter that uses the response of the system to update the records that are sent. As a field property in all adapters, Salesforce ID handling with request and response is new functionality. This is a picklist field, and there are two options: "None," which is the default behavior and does not return the Salesforce ID into the response, and "Return Salesforce ID into the response," which does return the Salesforce ID into the responses.

Why do we use this feature?

When a user requests records from Salesforce and requires the response to update the record on Salesforce, this functionality comes in useful. Example: In Sap Business One Client Server, a user requests records from Salesforce to the BusinessPartners module. As a result, when a user makes a request to the BusinessPartners module, the response will be returned, and the user will require some values from BusinessPartners that are contained in the Response in order to update the records for which the user made the request.

How to use this feature?

Pre- Required:

Step1: Create Integration

Step2:Create Sap business one Connection

Step3: Create Metadata SAP by using SAP Import Metadata.  Note: We need to create Metadata and a Repository.

After that, we will see the message type object Business Partner.

[su_box title="Note" box_color="#2a8af0" title_color="#000000"] To Update the records from response we need to mapping the request Interface and the response Interface as the same level. Example: If we want to get response Account contact and case, we need to map both Interface Account contact and case too.  [/su_box] Step 4:  Create Outbound Interface, Inbound Interface, and linked with Message Type that we generated.

Here’s Response Interface

[su_box title="Note" box_color="#2a8af0" title_color="#000000"] To use the response salesforce ID to update the records, Each level of mapping need fomula Id from Business object object to Salesforce ID. [/su_box]

Step5: Create SAP Business One adapter.

Here’s Example.

Step 6: Callout Data by using Manual Process.

Open this article in the interactive viewer →