Data-Migration-Tool
Data-Migration-Tool copied to clipboard
Record Types
Hi,
I am facing issues trying to migrate properly the recordtypes assigned to source org to a targert org.
I tried to add as lookups the record type, but still it jsut assign me a default record type instead of doing the upsert with the proper record type.
How I can approach this in roder to align properly record type for my NE__Matrix_Parameter_Row__c object ?
`[ { "parent": "NE__Matrix_Parameter__c", "externalIdField": "Source_External_Id__c", "lookups": [ { "lookupMappedField": "NE__Catalog_Header__c", "lookupObject": "NE__Catalog_Header__c", "keys": ["NE__Source_Catalog_Header_Id__c"] }
],
"children": [
{
"parentMappedField": "NE__Matrix_Parameter__c",
"childObject": "NE__Matrix_Parameter_Row__c",
"externalIdField": "NE__Source_External_Id__c",
"sequence": 1,
"lookups": [
{
"lookupMappedField": "Commercial_Product__c",
"lookupObject": "NE__Product__C",
"keys": ["Name","Code__c"]
},
{
"lookupMappedField": "FI_MPR_LKP_Discount_Product__c",
"lookupObject": "NE__Product__C",
"keys": ["Name","Code__c"]
},
{
"lookupMappedField": "RecordTypeId",
"lookupObject": "RecordType",
"keys": ["Id","Name","DeveloperName"]
}
]
}
]
}
]`
thanks in advance
Think I have a sample in wiki for recordtypes