Script Added + Retrieving data start

This commit is contained in:
Rene Kaßeböhmer
2025-04-01 11:28:44 +02:00
parent b1b9d3db8a
commit 9b1103268c
17 changed files with 187 additions and 39 deletions

View File

@ -1,2 +0,0 @@
Parent.Name,City,Country,PostalCode,Street,Latitude,Longitude,CountryCode,PKey__c
"Plantsoen de Pas 12, 6601 BK WIJCHEN, NL",WIJCHEN,Netherlands,6601 BK,Plantsoen de Pas 12,51.81388993,5.72578937,NL,"Plantsoen de Pas 12, 6601 BK WIJCHEN, NL"
1 Parent.Name City Country PostalCode Street Latitude Longitude CountryCode PKey__c
2 Plantsoen de Pas 12, 6601 BK WIJCHEN, NL WIJCHEN Netherlands 6601 BK Plantsoen de Pas 12 51.81388993 5.72578937 NL Plantsoen de Pas 12, 6601 BK WIJCHEN, NL

View File

@ -1,2 +0,0 @@
Name,DuplicateCheck__c,IsInventoryLocation,IsMobile,LocationType
"Plantsoen de Pas 12, 6601 BK WIJCHEN, NL",false,false,false,Site
1 Name DuplicateCheck__c IsInventoryLocation IsMobile LocationType
2 Plantsoen de Pas 12, 6601 BK WIJCHEN, NL false false false Site

View File

@ -1 +1 @@
sf sfdmu run --sourceusername csvfile --targetusername rene.kasseboehmer@vaillant.de.devrene
sf sfdmu run --sourceusername rene.kasseboehmer@vaillant.de --targetusername csvfile

View File

@ -1,15 +1,9 @@
{
"allOrNone": true,
"useSeparatedCSVFiles": true,
"excludeIdsFromCSVFiles": true,
"objects": [
{
"query": "SELECT Name,DuplicateCheck__c,IsInventoryLocation,IsMobile,LocationType FROM Location",
"operation": "Insert",
"externalId": "Name"
},{
"query": "SELECT City, Country, PostalCode, Street, Latitude, Longitude, CountryCode, Pkey__c, ParentId$Location FROM Address",
"operation": "Insert"
"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 1",
"externalId": "Id"
}
]
}