Hi Faizan,
You have to upload the outstanding balances of incoming and out going along with main bank. At the time of legacy upload, the accounting entry will be:
Bank A/c Dr
Incoming balance A/c Dr
Outgoing balance A/c Cr
Legacy balance A/c Cr (Balancing amount)
Regards,
Mukthar