asset warranty plus warranty term update

This commit is contained in:
Rene Kaßeböhmer
2025-05-19 15:12:23 +02:00
parent d5742d7d30
commit b675a38baf
31 changed files with 77 additions and 37 deletions

View File

@ -0,0 +1,8 @@
ObjectName,FieldName,RawValue,Value
Asset,Kind_of_Energy__c,4,3
Asset,Kind_of_Energy__c,5,3
Asset,Serialnumber_Exception__c,350001,Missing
Asset,Serialnumber_Exception__c,350002,Not Readable
Asset,Serialnumber_Exception__c,350003,Not Readable
Asset,Serialnumber_Exception__c,350004,Rejected by the system
Asset,Serialnumber_Exception__c,350005,Missing
1 ObjectName FieldName RawValue Value
2 Asset Kind_of_Energy__c 4 3
3 Asset Kind_of_Energy__c 5 3
4 Asset Serialnumber_Exception__c 350001 Missing
5 Asset Serialnumber_Exception__c 350002 Not Readable
6 Asset Serialnumber_Exception__c 350003 Not Readable
7 Asset Serialnumber_Exception__c 350004 Rejected by the system
8 Asset Serialnumber_Exception__c 350005 Missing

View File

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

View 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
}
]
}