Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

How to move the records of a parent table to one of it's child table.

Harika Ravuri
Tera Contributor

We got a scenario where we have to move the companies(core_company) to accounts(customer_account). I don't want to recreate the records again as customer as we need same sys id's to be maintained.

1 ACCEPTED SOLUTION
5 REPLIES 5

Hi @Dr Atul - LNG,

 

I appreciate for the quick reply 🙂

 

I'm looking to move the entire data to child table but in the link you have shared is showing how to copy data and differentiate data using some custom field.

Harika Ravuri
Tera Contributor

Thank you for the solution. If we just change the class to 'account' from 'company', it'll automatically move to customer_account table. This is as similar as CMDB class change.