Before this entry, it was an entry to offset the long-term equity investment and the owner's equity of the invested enterprise. The entry is as follows:
Borrow: share capital
Contributed surplus
Other comprehensive income
Excess function
Undistributed profit-year-end
business integrity
Loan: long-term equity investment
minority shareholders' equity
The entry you mentioned later is actually to break down "undistributed profit-year-end" again. According to the formula:
Undistributed profit at the end of the year = beginning of the year+increase this year-decrease this year.
Undistributed profit-the beginning of the year is the beginning of the year, which increases the investment income and minority shareholders' profits and losses, and reduces the withdrawal of surplus reserves and distribution to investors this year.