function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sai kumar 625sai kumar 625 

ant deployment issues

Hello All,

I am trying to deploy one new junction object created in our dev org. The object is having relatinoship with two different objects which are already available in our QA org. But when I deploy the junction object I'm getting error as :
cannot add a master-detail relationship child to a custom junction object.

Here the issue is the juction object has master relation with one x object and this x object is a child of other master object.How to deploy this object thourhg ant. Anyone has this similar issue? Please help me. Thanks in advance.
MagulanDuraipandianMagulanDuraipandian
Check this - https://www.infallibletechie.com/2018/10/cannot-add-master-detail-relationship.html

Custom junction objects can't have detail objects. That is, a custom junction object can't become the master object in a multilevel master-detail relationship.