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

Validations on Account Object


We have D&B( Heirarchy Structure in our Org on the Accounts. Has any one seen below error message while updating the Opportunity Record?

"Error:A immediate parent name can't be the child of a client it's already a parent of."

There are no Validation Rule or triggers in my org with this message.  I am thinking while updating the opportunity something is triggering the D&B data on the Account.

Please let us know your thoughts


Travis Lee 1Travis Lee 1
Hey sni86,

I've encountered this in the past when I was trying to establish a hierarchy and it was a conflict on the Parent Account field. See the example below:

Account A is currently the parent of Account B
User desires to reverse this relationship
User adds "Account B" in the Parent Account field of Account A and receives the error you described.

This can be remedied by removing Account A from the Parent Account field of Account B

Hope this helps!