I appreciate you reaching out to us, liauyulan. Yes, you can make changes to your transactions and assign it to the correct account number in QuickBooks Online. Let me help you through this process and ensure everything is correct.
To assist you more effectively with amending the transaction, could you please provide some additional details? I would like to know the type of transaction you are trying to edit, how you entered it into QuickBooks, its reconciliation status, and whether it is from a current or closed period.
If the transaction is from a closed period, go to the Bank Register by selecting View register where the transaction is found. From there, you can edit the transaction and change it to the correct bank account.
Furthermore, refer to this article for detailed steps in categorizing and editing your transactions in QBO.
Additionally, after editing it in your account, you can reconcile your books if they haven't yet.
If you're referring to something else, please let us know by Replying to this thread. Providing more information about your concern will help us provide a more targeted solution. Don't hesitate to reach out. Take care.