Level 1

Debtors and Creditors opening balance

When I created the debtors and creditors accounts in Quickbooks, I entered the opening balance for each of them. I noticed however that instead of allocating the amounts to creditors and debtors accounts, it did record them automatically in either an expense or an income. How do I update this? Do I have to do a journal entry to correct it? It does not allow me to correct in each debtor or creditor the account. Thank you.