IoT Addresses and Locations fixed

This commit is contained in:
Rene Kaßeböhmer
2025-04-24 10:46:04 +02:00
parent c4c4d51dc9
commit 5aaf4a6d19
4 changed files with 8 additions and 3 deletions

View File

@ -1 +1 @@
python .\extract_via_simple_salesforce.py --context qa2
python .\extract_via_simple_salesforce.py --context qa2 --country NL

View File

@ -59,6 +59,9 @@ merged_df_location_iot = merged_df_location_iot.drop('ParentId', axis=1)
merged_df_location_iot.columns = ['Id', 'Name', 'VisitorAddressId', 'PKey__c']
# Drop rows where VisitorAddressId is null
merged_df_location_iot = merged_df_location_iot.dropna(subset=['VisitorAddressId'])
##--------------------------------------------------------------------------##
## Address and Location (Parent and Child)
##--------------------------------------------------------------------------##

View File

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

View File

@ -1,9 +1,11 @@
{
"allOrNone": true,
"importCSVFilesAsIs": true,
"objects": [
{
"query": "SELECT Id FROM Address WHERE CountryCode = 'NL'",
"query": "SELECT Id FROM Address",
"operation": "Readonly",
"externalId": "Id",
"master": false
},{
"query": "SELECT Id,Name,VisitorAddressId,PKey__c FROM Location",