change to simple_salesforce for data load
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
"useSeparatedCSVFiles": true,
|
||||
"pollingQueryTimeoutMs": 1000000,
|
||||
"bulkApiVersion": "2.0",
|
||||
"parallelRestJobs": 2,
|
||||
"queryBulkApiThreshold ": 100,
|
||||
"objectSets": [
|
||||
{
|
||||
"objects": [
|
||||
{
|
||||
"query": "SELECT Id, City__c, Country__c, GeoY__c, GeoX__c, PostalCode__c, Street__c, Extension__c, HouseNo__c, FlatNo__c, Floor__c FROM SCInstalledBaseLocation__c WHERE Country__c = 'NL'",
|
||||
"query": "SELECT Id, City__c, Country__c, GeoY__c, GeoX__c, PostalCode__c, Street__c, Extension__c, HouseNo__c, FlatNo__c, Floor__c FROM SCInstalledBaseLocation__c WHERE Country__c = 'NL' limit 1000",
|
||||
"externalId": "Name",
|
||||
"operation": "Readonly"
|
||||
}
|
||||
@ -19,7 +19,18 @@
|
||||
"query": "SELECT Id, Name, CommissioningDate__c,InstallationDate__c,ProductEnergy__c, ProductUnitClass__c,ArticleNo__c,SerialNo__c, SerialNoException__c, ProductUnitType__c, InstalledBaseLocation__c FROM SCInstalledBase__c WHERE Country__c = 'NL'",
|
||||
"externalId": "Name",
|
||||
"operation": "Readonly",
|
||||
"excludedFromUpdateFields": ["InstalledBaseLocation__c"]
|
||||
"master":true,
|
||||
"excludedFromUpdateFields": ["InstalledBaseLocation__c"],
|
||||
"skipRecordsComparison": true,
|
||||
"parallelRestJobs": 4,
|
||||
"restApiBatchSize": 9500,
|
||||
"fieldMapping": [
|
||||
{
|
||||
"sourceField": "InstalledBaseLocation__c",
|
||||
"targetField": "Id",
|
||||
"targetObject": "SCInstalledBaseLocation__c"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},{
|
||||
@ -33,10 +44,10 @@
|
||||
},{
|
||||
"objects": [
|
||||
{
|
||||
"query": "SELECT Id, Country, CountryCode, Street, City, ParentId PostalCode FROM Address WHERE CountryCode = 'NL'",
|
||||
"query": "SELECT Id, Country, CountryCode, Street, City, ParentId, PostalCode FROM Address WHERE CountryCode = 'NL'",
|
||||
"externalId": "Name",
|
||||
"operation": "Readonly",
|
||||
"excludedFields": ["ParentId"]
|
||||
"excludedFromUpdateFields": ["ParentId"]
|
||||
}
|
||||
]
|
||||
|
||||
@ -48,6 +59,14 @@
|
||||
"operation": "Readonly"
|
||||
}
|
||||
]
|
||||
},{
|
||||
"objects": [
|
||||
{
|
||||
"query": "SELECT Id, Main_Product_Group__c, Family, MaterialType__c, Name, Product_Code__c, ProductCode, EAN_Product_Code__c FROM Product2",
|
||||
"externalId": "Name",
|
||||
"operation": "Readonly"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user