Skip to content

Commit 25b27c9

Browse files
committed
Salesforce, SFSC V2 support decimal scale
1 parent 7f972e6 commit 25b27c9

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

articles/data-factory/connector-salesforce-service-cloud.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: jianleishen
77
ms.subservice: data-movement
88
ms.topic: conceptual
99
ms.custom: synapse
10-
ms.date: 09/04/2025
10+
ms.date: 03/23/2026
1111
---
1212

1313
# Copy data from and to Salesforce Service Cloud V2 using Azure Data Factory or Azure Synapse Analytics
@@ -205,6 +205,7 @@ To copy data from Salesforce Service Cloud, set the source type in the copy acti
205205
| type | The type property of the copy activity source must be set to **SalesforceServiceCloudV2Source**. | Yes |
206206
| query | Use the custom query to read data. You can only use [Salesforce Object Query Language (SOQL)](https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql.htm) query. If query is not specified, all the data of the Salesforce object specified in "objectApiName/reportId" in dataset will be retrieved. | No (if "objectApiName/reportId" in the dataset is specified) |
207207
| includeDeletedObjects | Indicates whether to query the existing records, or query all records including the deleted ones. If not specified, the default behavior is false. <br>Allowed values: **false** (default), **true**. | No |
208+
| preserveScaleFromSchema | Indicates whether to enable decimal scale rounding or not. Rounding only happens when property is set to true. If not specified, the default behavior is false. <br>Allowed values: **false** (default), **true**. | No |
208209
| partitionOption | Provide capability to automatically detect and apply the optimal partitioning algorithm to optimize for read throughput when applicable. You are recommended to specify `AutoDetect` for long-running copy that can benefit from multi-threaded reads. The default value is `AutoDetect`. | No |
209210

210211
> [!IMPORTANT]
@@ -236,6 +237,7 @@ To copy data from Salesforce Service Cloud, set the source type in the copy acti
236237
"type": "SalesforceServiceCloudV2Source",
237238
"query": "SELECT Col_Currency__c, Col_Date__c, Col_Email__c FROM AllDataType__c",
238239
"includeDeletedObjects": false,
240+
"preserveScaleFromSchema": false,
239241
"partitionOption": "AutoDetect"
240242
},
241243
"sink": {
@@ -334,7 +336,7 @@ The following table shows the release stage and change logs for different versio
334336
| Version | Release stage | Change log |
335337
| :------- | :---------------------- |:---------- |
336338
| Salesforce Service Cloud V1 | Removed | Not applicable. |
337-
| Salesforce Service Cloud V2 | GA version available | • Support OAuth2ClientCredentials authentication instead of the basic authentication. <br><br> • Support SOQL query only.<br><br>• Support report by selecting a report ID.<br><br>• Support `partitionOption` in the copy activity source. <br><br>• `readBehavior` is replaced with `includeDeletedObjects` in the copy activity source or the lookup activity.|
339+
| Salesforce Service Cloud V2 | GA version available | • Support OAuth2ClientCredentials authentication instead of the basic authentication. <br><br> • Support SOQL query only.<br><br>• Support report by selecting a report ID.<br><br>• Support `partitionOption` in the copy activity source. <br><br>• Support `preserveScaleFromSchema` in the copy activity source. <br><br>• `readBehavior` is replaced with `includeDeletedObjects` in the copy activity source or the lookup activity.|
338340

339341
### <a name="upgrade-the-salesforce-service-cloud-linked-service"></a> Upgrade the Salesforce Service Cloud connector
340342

@@ -348,6 +350,8 @@ Here are steps that help you upgrade your Salesforce Service Cloud connector:
348350

349351
1. Support `partitionOption` in the copy activity source. For the detailed configuration, see [Salesforce Service Cloud as a source type](connector-salesforce-service-cloud.md#salesforce-service-cloud-as-a-source-type).
350352

353+
1. Support `preserveScaleFromSchema` in the copy activity source. For the detailed configuration, see [Salesforce Service Cloud as a source type](connector-salesforce-service-cloud.md#salesforce-service-cloud-as-a-source-type).
354+
351355
1. `readBehavior` is replaced with `includeDeletedObjects` in the copy activity source or the lookup activity. For the detailed configuration, see [Salesforce Service Cloud as a source type](connector-salesforce-service-cloud.md#salesforce-service-cloud-as-a-source-type).
352356

353357

articles/data-factory/connector-salesforce.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: jianleishen
77
ms.subservice: data-movement
88
ms.topic: conceptual
99
ms.custom: synapse
10-
ms.date: 09/04/2025
10+
ms.date: 03/23/2026
1111
---
1212

1313
# Copy data from and to Salesforce V2 using Azure Data Factory or Azure Synapse Analytics
@@ -249,6 +249,7 @@ To copy data from Salesforce, set the source type in the copy activity to **Sale
249249
| type | The type property of the copy activity source must be set to **SalesforceV2Source**. | Yes |
250250
| query | Use the custom query to read data. You can only use [Salesforce Object Query Language (SOQL)](https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql.htm) query. If query isn't specified, all the data of the Salesforce object specified in "objectApiName/reportId" in dataset is retrieved. | No (if "objectApiName/reportId" in the dataset is specified) |
251251
| includeDeletedObjects | Indicates whether to query the existing records, or query all records including the deleted ones. If not specified, the default behavior is false. <br>Allowed values: **false** (default), **true**. | No |
252+
| preserveScaleFromSchema | Indicates whether to enable decimal scale rounding or not. Rounding only happens when property is set to true. If not specified, the default behavior is false. <br>Allowed values: **false** (default), **true**. | No |
252253
| partitionOption | Provide capability to automatically detect and apply the optimal partitioning algorithm to optimize for read throughput when applicable. You are recommended to specify `AutoDetect` for long-running copy that can benefit from multi-threaded reads. The default value is `AutoDetect`. | No |
253254

254255
> [!IMPORTANT]
@@ -280,6 +281,7 @@ To copy data from Salesforce, set the source type in the copy activity to **Sale
280281
"type": "SalesforceV2Source",
281282
"query": "SELECT Col_Currency__c, Col_Date__c, Col_Email__c FROM AllDataType__c",
282283
"includeDeletedObjects": false,
284+
"preserveScaleFromSchema": false,
283285
"partitionOption": "AutoDetect"
284286
},
285287
"sink": {
@@ -378,7 +380,7 @@ The following table shows the release stage and change logs for different versio
378380
| Version | Release stage | Change log |
379381
| :------- | :---------------------- |:---------- |
380382
| Salesforce V1 | Removed | Not applicable. |
381-
| Salesforce V2 | GA version available | • Support OAuth2ClientCredentials authentication instead of the basic authentication. <br><br> • Support SOQL query only.<br><br>• Support report by selecting a report ID.<br><br>• Support `partitionOption` in the copy activity source. <br><br>• `readBehavior` is replaced with `includeDeletedObjects` in the copy activity source or the lookup activity.|
383+
| Salesforce V2 | GA version available | • Support OAuth2ClientCredentials authentication instead of the basic authentication. <br><br> • Support SOQL query only.<br><br>• Support report by selecting a report ID.<br><br>• Support `partitionOption` in the copy activity source.<br><br>• Support `preserveScaleFromSchema` in the copy activity source. <br><br>• `readBehavior` is replaced with `includeDeletedObjects` in the copy activity source or the lookup activity.|
382384

383385
### <a name="upgrade-the-salesforce-linked-service"></a> Upgrade the Salesforce connector from V1 to V2
384386

@@ -392,6 +394,8 @@ Here are steps that help you upgrade your Salesforce connector:
392394

393395
1. Support `partitionOption` in the copy activity source. For the detailed configuration, see [Salesforce as a source type](connector-salesforce.md#salesforce-as-a-source-type).
394396

397+
1. Support `preserveScaleFromSchema` in the copy activity source. For the detailed configuration, see [Salesforce as a source type](connector-salesforce.md#salesforce-as-a-source-type).
398+
395399
1. `readBehavior` is replaced with `includeDeletedObjects` in the copy activity source or the lookup activity. For the detailed configuration, see [Salesforce as a source type](connector-salesforce.md#salesforce-as-a-source-type).
396400

397401
## Related content

0 commit comments

Comments
 (0)