Data-Migration-Tool icon indicating copy to clipboard operation
Data-Migration-Tool copied to clipboard

Record Types

Open l13ito opened this issue 6 years ago • 1 comments

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

l13ito avatar Dec 18 '19 11:12 l13ito

Think I have a sample in wiki for recordtypes

anoop-singh1 avatar Jun 02 '23 23:06 anoop-singh1