Child Account heads diappeared after marged with existing

Hello

I have tried merging a sub account head with its parent head . Sub account head has its own child head also . When It merged all the child accounts of sub disappeared . Now it doesn’t show anywhere . But when I tried creating a head with the same name system says “Account head already exists duplicate entry”

Please help .

Thanks

@inventobd this needs to be validated.

Edit: I am not sure this can be recovered. The the child accounts do not have a GL posting, just delete the Account records in your DB

CC @nabinhait

@inventobd Go to Account List view and search for the sub-account head and change it’s parent. Hopefully you should recover everything.

@rmehta I will fix the logic.