update address & location IoT
This commit is contained in:
22
prepared_steps/8_upsert_assets/export.json
Normal file
22
prepared_steps/8_upsert_assets/export.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"allOrNone": true,
|
||||
"excludeIdsFromCSVFiles": true,
|
||||
"objects": [
|
||||
{
|
||||
"query": "SELECT ExternalReference FROM Location WHERE ExternalReference != null AND ParentLocation.VisitorAddress.CountryCode = 'NL'",
|
||||
"operation": "Readonly",
|
||||
"externalId": "ExternalReference",
|
||||
"master": false
|
||||
},{
|
||||
"query": "SELECT Product_Code__c FROM Product2 WHERE Product_Code__c != null",
|
||||
"operation": "Readonly",
|
||||
"externalId": "Product_Code__c",
|
||||
"master": false
|
||||
},{
|
||||
"query": "SELECT Product2Id,InstallDate,Name,Kind_of_Energy__c,Main_Product_Group__c,SerialNumber,Serialnumber_Exception__c,LocationId FROM Asset",
|
||||
"operation": "Insert",
|
||||
"master": true,
|
||||
"useValuesMapping": true
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user