From 3b7ff257793c365aa2677b7734615d34d49c2e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=20Ka=C3=9Feb=C3=B6hmer?= Date: Thu, 27 Mar 2025 13:11:59 +0100 Subject: [PATCH] first commit --- FieldMapping.csv | 1 + export.json | 43 +++++++++++++++++++++++++ source/Address_source.csv | 2 ++ source/object-set-2/Location_source.csv | 2 ++ source/object-set-3/Location_source.csv | 2 ++ 5 files changed, 50 insertions(+) create mode 100644 FieldMapping.csv create mode 100644 export.json create mode 100644 source/Address_source.csv create mode 100644 source/object-set-2/Location_source.csv create mode 100644 source/object-set-3/Location_source.csv diff --git a/FieldMapping.csv b/FieldMapping.csv new file mode 100644 index 0000000..84b3fd7 --- /dev/null +++ b/FieldMapping.csv @@ -0,0 +1 @@ +ObjectName,FieldName,Target \ No newline at end of file diff --git a/export.json b/export.json new file mode 100644 index 0000000..6590845 --- /dev/null +++ b/export.json @@ -0,0 +1,43 @@ +{ + "objects": [ + { + "query": "SELECT address_identifier, City, Country, PostalCode, Street, Latitude, Longitude, CountryCode FROM Address", + "operation": "Insert", + "externalId": "address_identifier", + "useFieldMapping": true, + "fieldMapping": [ + { + "targetObject": "Address" + }, + { + "sourceField": "City", + "targetField": "City" + }, + { + "sourceField": "Country", + "targetField": "Country" + }, + { + "sourceField": "PostalCode", + "targetField": "PostalCode" + }, + { + "sourceField": "Street", + "targetField": "Street" + }, + { + "sourceField": "Latitude", + "targetField": "Latitude" + }, + { + "sourceField": "Longitude", + "targetField": "Longitude" + }, + { + "sourceField": "CountryCode", + "targetField": "CountryCode" + } + ] + } + ] +} \ No newline at end of file diff --git a/source/Address_source.csv b/source/Address_source.csv new file mode 100644 index 0000000..f6b0515 --- /dev/null +++ b/source/Address_source.csv @@ -0,0 +1,2 @@ +address_identifier,City,Country,PostalCode,Street,Latitude,Longitude,CountryCode +WIJCHENNetherlands6601 BKPlantsoen de Pas12,WIJCHEN,Netherlands,6601 BK,Plantsoen de Pas 12,51.81388993,5.72578937,NL diff --git a/source/object-set-2/Location_source.csv b/source/object-set-2/Location_source.csv new file mode 100644 index 0000000..7c5fcf6 --- /dev/null +++ b/source/object-set-2/Location_source.csv @@ -0,0 +1,2 @@ +address_identifier,Name,DuplicateCheck__c,IsInventoryLocation,IsMobile,LocationType +WIJCHENNetherlands6601 BKPlantsoen de Pas12,"Plantsoen de Pas 12, 6601 BK WIJCHEN, NL",false,false,false,Site diff --git a/source/object-set-3/Location_source.csv b/source/object-set-3/Location_source.csv new file mode 100644 index 0000000..4809ee6 --- /dev/null +++ b/source/object-set-3/Location_source.csv @@ -0,0 +1,2 @@ +address_identifier,Extension,Flat,Floor,Name,DuplicateCheck__c,IsInventoryLocation,IsMobile,LocationType +WIJCHENNetherlands6601 BKPlantsoen de Pas12,,,,--,false,false,false,Site