You may have already figured this out, but this also happened to me.
I had to manually place the total of the prior years R/E line 3849, into the current years information on line 3660.
The gifi codes automatically placed my current years Net income/loss onto line 3680.
This gave me the correct total R/E line 3849 for the current year.
Common shares value (3500) would be shown in the Equity portion of S100. Added to 3600 to equal 3620.
Your total liabilities and equity (3640) should be equal to your total assets (2599).
Hopefully this helps. I am not an accountant, just had the same problem with my own books. So this is not legal advice, just hopefully a helpful insight .