Transfer A/P amount to A/C to clear?

SUGGESTED

Hello,

Instead of making a purchase voucher, I made a general journal entry and cleared the accounts payable account via cash. However, instead of this amount linking to the accounts receivable, I know have amounts in both A/P and A/R. How can I transfer the amount from A/P to clear the amount in the A/R account?

As the month the first transaction was made is now closed, is it possible to create a new transaction that will not affect previous months?