72 lines
2.8 KiB
JSON
72 lines
2.8 KiB
JSON
{
|
|
"allOrNone": true,
|
|
"useSeparatedCSVFiles": true,
|
|
"pollingQueryTimeoutMs": 1000000,
|
|
"bulkApiVersion": "2.0",
|
|
"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' limit 1000",
|
|
"externalId": "Name",
|
|
"operation": "Readonly"
|
|
}
|
|
]
|
|
},{
|
|
"objects": [
|
|
{
|
|
"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",
|
|
"master":true,
|
|
"excludedFromUpdateFields": ["InstalledBaseLocation__c"],
|
|
"skipRecordsComparison": true,
|
|
"parallelRestJobs": 4,
|
|
"restApiBatchSize": 9500,
|
|
"fieldMapping": [
|
|
{
|
|
"sourceField": "InstalledBaseLocation__c",
|
|
"targetField": "Id",
|
|
"targetObject": "SCInstalledBaseLocation__c"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},{
|
|
"objects": [
|
|
{
|
|
"query": "SELECT Id, Serialnumber FROM Asset WHERE Location.ParentLocation.Name LIKE '%NL'",
|
|
"externalId": "Name",
|
|
"operation": "Readonly"
|
|
}
|
|
]
|
|
},{
|
|
"objects": [
|
|
{
|
|
"query": "SELECT Id, Country, CountryCode, Street, City, ParentId, PostalCode FROM Address WHERE CountryCode = 'NL'",
|
|
"externalId": "Name",
|
|
"operation": "Readonly",
|
|
"excludedFromUpdateFields": ["ParentId"]
|
|
}
|
|
]
|
|
|
|
},{
|
|
"objects": [
|
|
{
|
|
"query": "SELECT Id, ParentLocationId, Name FROM Location WHERE Name LIKE '%NL' OR ParentLocation.Name = '%NL'",
|
|
"externalId": "Name",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |