Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.
This repository was archived by the owner on May 15, 2025. It is now read-only.

Record Types #10

Description

@l13ito

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions