asset warranty plus warranty term update
This commit is contained in:
35
prepared_steps/9_upsert_assets/export.json
Normal file
35
prepared_steps/9_upsert_assets/export.json
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"allOrNone": true,
|
||||
"excludeIdsFromCSVFiles": true,
|
||||
"objects": [
|
||||
{
|
||||
"query": "SELECT PKey__c FROM Location WHERE PKey__c != null AND ParentLocation.VisitorAddress.CountryCode = 'NL'",
|
||||
"operation": "Readonly",
|
||||
"externalId": "PKey__c"
|
||||
},{
|
||||
"query": "SELECT Product_Code__c FROM Product2 WHERE Product_Code__c != null",
|
||||
"operation": "Readonly",
|
||||
"externalId": "Product_Code__c",
|
||||
"master": false
|
||||
},{
|
||||
"query": "SELECT PKey__c FROM WarrantyTerm",
|
||||
"operation": "Readonly",
|
||||
"externalId": "PKey__c",
|
||||
"queryAllTarget": true,
|
||||
"master": false
|
||||
},{
|
||||
"query": "SELECT PKey__c,Product2Id,InstallDate,Name,Kind_of_Energy__c,Main_Product_Group__c,SerialNumber,Serialnumber_Exception__c,LocationId FROM Asset",
|
||||
"operation": "Insert",
|
||||
"externalId": "PKey__c",
|
||||
"master": true,
|
||||
"useValuesMapping": true,
|
||||
"useSourceCSVFile": true
|
||||
},{
|
||||
"query": "SELECT AssetId,StartDate,EndDate,WarrantyTermId FROM AssetWarranty",
|
||||
"operation": "Insert",
|
||||
"master": true,
|
||||
"useValuesMapping": true,
|
||||
"useSourceCSVFile": true
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user