Please help anyone out there.

Our year end was done quite late last year. We are using Pastel. The trial balance balances. However the Accumulated Funds/Deficit and Capital Acc balances did not pull through into the trial balance. What is the reason for this. When I print the TB to excel and insert the two balances manually the TB does not balance. I do not understand enough about Pastel. Can someone explain to me what is or has happened here and how to correct it please.