Replacing the investment account
The parent's books carry one asset, the investment in the subsidiary. Consolidation removes it and puts the subsidiary's individual assets and liabilities in its place, on a worksheet; neither company's ledger changes.
At the acquisition date the acquisition method measures the subsidiary's identifiable assets and liabilities at fair value, including intangibles it never recorded. Goodwill is the price paid above the fair value of those net assets. Legal, valuation and advisory fees for the deal are expenses of the period, not part of the price.
The basic elimination entry debits the subsidiary's own equity accounts, debits the excess of fair value over carrying amount to the assets concerned, debits goodwill, and credits the investment. Because the subsidiary's equity is eliminated, consolidated equity at the acquisition date is simply the parent's equity. The subsidiary's retained earnings earned before the acquisition never reach consolidated retained earnings.